IA3000
IA3000
全部文章
分类
归档
标签
去牛客网
登录
/
注册
IA3000的博客
全部文章
(共25篇)
题解 | 旅行者的大逃脱 | 出题人我* | 说不清楚时间
艹!!!!!!!!!!!! #include <bits/stdc++.h> using namespace std; using LL = long long; const LL mod =998244353; const int N = 505; bool vis[N][N]; ...
2026-04-27
1
6
题解 | 圆覆盖 | 你知道 upper_bound(comp_) 参数怎么写吗
虽然但是,用不着二分 #include <bits/stdc++.h> using LL = long long; using namespace std; const int N = 1e5 + 5; const double eps = 1e-7; int n; LL S; st...
2026-04-11
0
32
题解 | 圆覆盖 | 你知道 lower_bound(comp_) 参数怎么写吗
虽然但是,用不着二分 #include <bits/stdc++.h> using LL = long long; using namespace std; const int N = 1e5 + 5; const double eps = 1e-7; int n; LL S; st...
2026-04-11
0
30
题解 | 小红的图上加边 | 贪心
#include <bits/stdc++.h> using namespace std; const int N = 1e5 + 5; vector<int> e[N]; int n, m; int a[N]; bool vis[N]; int mx; int mn; lo...
2026-04-10
0
23
题解 | 收集金币 | DAG 上 DP
#include <bits/stdc++.h> using namespace std; const int N = 1e3 + 5; int n, m, q; int a[N][N]; void solve() { cin >> n >> m; ...
2026-04-02
0
39
题解 | 冥古之潮 | bfs + dp 排列组合
#include <bits/stdc++.h> using namespace std; const int N = 1e6 + 5, M = 5e3 + 5, mod =1e9 + 7; int n, m, q, x; vector<int> e[N]; bool vi...
2026-04-01
0
38
题解 | 喝可乐 | 暴力 log 级别复杂度
#include <bits/stdc++.h> using namespace std; void solve() { int n, A, B; cin >> n >> A >> B; int ans = n; fo...
2026-03-29
0
42
题解 | 浮木博弈
#include <iostream> using namespace std; int main() { int T = 1; cin >> T; while (T--) { int n, a, fi = 0; ci...
2026-03-27
0
46
题解 | 太阳之华 | 洪水
#include <bits/stdc++.h> using namespace std; const int N=2e3+5; bitset<N> mat[N]; bool vis[N][N]; int cnt,tot; int n,m; array<int, 2&g...
2026-03-24
1
36
题解 | 小红的01串 | 今年最后一次错误 | 1 != '1'
#include <iostream> using namespace std; int main() { int t; cin>>t; while(t--){ string s,t; cin>>s; ...
2025-12-31
0
88
首页
上一页
1
2
3
下一页
末页