lao_xiao
lao_xiao
全部文章
分类
归档
标签
去牛客网
登录
/
注册
lao_xiao的博客
全部文章
(共17篇)
题解 | 岛屿数量
#include <iostream> #include <vector> using namespace std; const int N = 110; char g[N][N]; bool st[N][N]; int dx[8] = {0,0,-1,-1,-1,1,...
2026-02-22
0
22
题解 | 小苯的最大和
#include <iostream> using namespace std; typedef long long LL; const int N = 2e5 + 10; int a[N]; LL f[N]; int main() { int t; cin>...
2026-02-22
0
19
题解 | 子数组绝对值的最大值
#include <iostream> #include <string> using namespace std; const int N = 2e5 + 10; int a[N]; int s[N]; int main() { int n; cin...
2026-02-21
0
25
题解 | 小红拿石子1.0
#include <iostream> #include <algorithm> using namespace std; typedef long long LL; const int N = 2e5 + 10; int a[N]; int main() { ...
2026-02-21
0
20
题解 | 小红的三带一
#include <iostream> #include <unordered_map> using namespace std; // typedef pair<int,int> PII; const int N = 2e5 + 10; int a[N];...
2026-02-21
0
20
题解 | 【模板】快速幂
#include <iostream> using namespace std; typedef long long LL; LL qmi(LL a, LL b, LL p) { LL res = 1 % p; LL x = a % p; while (b...
2026-02-15
1
26
题解 | 小红的方神题
#include <iostream> using namespace std; int main() { int n; cin>>n; if(n == 1 || n == 2){ cout<<-1<<endl...
2026-02-07
1
32
首页
上一页
1
2
下一页
末页