影02
影02
全部文章
分类
归档
标签
去牛客网
登录
/
注册
影02的博客
全部文章
(共18篇)
题解 | 小红的矩阵
#include <iostream> using namespace std; using ll = long long; ll n, m, k; ll count(ll x) { ll cnt = 0; for (ll i = 1; i <= n; i++)...
2026-04-10
0
26
题解 | 小苯的魔法染色
#include <bits/stdc++.h> using namespace std; const int N=2e5+5; int n; int m; string s; bool f(int x){ int c=0; for(int i=0;i<n;i...
2026-04-10
0
38
题解 | [CQOI2010]扑克牌
#include <bits/stdc++.h> using namespace std; typedef long long ll; int n,m; const int N=53; int a[N]; bool f(ll x){ ll s=0; for(int i...
2026-04-10
0
37
题解 | 圆覆盖
#include <bits/stdc++.h> using namespace std; const int N=1e5+5; struct node{ double d; int v; }; node a[N]; bool cmp(node a,node b){ ...
2026-04-10
0
31
题解 | 音符
#include <bits/stdc++.h> using namespace std; const int N=5e4+4; int a[N]; int n; int f(int x){ int l=0;int r=n; while(l<r){ ...
2026-04-10
0
22
题解 | 【模板】整数域二分
#include <iostream> #include <vector> #include <algorithm> using namespace std; const int N=2e5+5; int a[N]; int n; int f(int x){ ...
2026-04-10
0
40
题解 | 画展布置
#include <bits/stdc++.h> using namespace std; const int N = 2e5 + 5; long long a[N]; int main() { int n,m;cin>>n>>m; for(i...
2026-04-10
0
29
题解 | 相差不超过k的最多数
#include <bits/stdc++.h> using namespace std; const int N = 2e5 + 5; long long a[N]; int main() { ios::sync_with_stdio(false); cin.tie...
2026-04-10
0
29
题解 | 游游的最长稳定子数组
#include <bits/stdc++.h> using namespace std; const int N=1e9+4; int a[N]; int main() { int n;cin>>n; for(int i=0;i<n;i++){ ...
2026-04-10
0
30
题解 | 小苯的IDE括号问题(easy)
#include <bits/stdc++.h> using namespace std; int main() { int n, k; cin >> n >> k; string s; cin >> s; d...
2026-04-09
0
30
首页
上一页
1
2
下一页
末页