smartiphone
smartiphone
全部文章
分类
题解(6)
归档
标签
去牛客网
登录
/
注册
smartiphone的博客
全部文章
(共31篇)
题解 | 小红统计区间(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
13
题解 | 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
10
题解 | 小红的数位删除
#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
13
题解 | #【模板】扩展巴什博弈#
#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
10
题解 | 相助(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
35
题解 | 先序遍历、中序遍历和后序遍历
#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
41
题解 | 人人都是好朋友
#include<bits/stdc++.h> #define endl '\n' using namespace std; class dsu { vector<int> par; vector<int> rank; public: ...
2025-12-30
1
39
题解 | 小红的树上删边
#include <vector> #pragma GCC optimize(2) #include<bits/stdc++.h> #define endl '\n' #define INF 0x7fffffff #define _ << ' ' <<...
2025-12-27
0
35
题解 | 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
33
题解 | 游游的字符重排
#include<bits/stdc++.h> #define endl '\n' using namespace std; int main() { string s;cin >> s; int len = s.length(); int ans ...
2025-12-03
0
26
首页
上一页
1
2
3
4
下一页
末页