smartiphone
smartiphone
全部文章
分类
未归档(8)
题解(6)
归档
标签
去牛客网
登录
/
注册
smartiphone的博客
全部文章
(共42篇)
题解 | 斐波那契数列
#include <bits/stdc++.h> #define endl '\n' using namespace std; const long long MOD = 1000000007; // 2x2矩阵结构体(带模运算) struct Matrix { long l...
2026-02-25
0
67
题解 | 小红统计区间(easy)
#include<bits/stdc++.h> #include <vector> using namespace std; using ll = long long; int main() { cin.tie(nullptr)->sync_with_stdi...
2026-02-23
0
65
题解 | qcjj寄快递
#include <bits/stdc++.h> #define endl '\n' using namespace std; using pdd = pair<double,double>; constexpr double eps = 1e-10; vector<p...
2026-02-19
0
52
题解 | 小红的数位删除
#include<bits/stdc++.h> #define inf 0x3fffffff #define endl '\n' using namespace std; int main() { cin.tie(nullptr)->sync_with_stdio(fal...
2026-02-17
1
61
题解 | #【模板】扩展巴什博弈#
#include<bits/stdc++.h> #define endl '\n' using namespace std; void solve() { int n,l,r; cin >> n >> l >> r; if(n...
2026-02-16
0
62
题解 | 相助(easy)
#include<bits/stdc++.h> #define INF 0x3fffffff #define endl '\n' using namespace std; void solve() { int n;cin >> n; vector<in...
2026-01-03
0
75
题解 | 先序遍历、中序遍历和后序遍历
#include<bits/stdc++.h> #define endl '\n' using namespace std; void dlr(int root); void ldr(int root); void lrd(int root); vector<vector<...
2026-01-01
0
88
题解 | 人人都是好朋友
#include<bits/stdc++.h> #define endl '\n' using namespace std; class dsu { vector<int> par; vector<int> rank; public: ...
2025-12-30
1
86
题解 | 小红的树上删边
#include <vector> #pragma GCC optimize(2) #include<bits/stdc++.h> #define endl '\n' #define INF 0x7fffffff #define _ << ' ' <<...
2025-12-27
0
80
题解 | 01串题
#include<bits/stdc++.h> #define endl '\n' using namespace std; void solve() { int a,b,x; cin >> a >> b >> x; if(x...
2025-12-18
0
68
首页
上一页
1
2
3
4
5
下一页
末页