lao_xiao
lao_xiao
全部文章
分类
归档
标签
去牛客网
登录
/
注册
lao_xiao的博客
全部文章
(共5篇)
题解 | 子数组绝对值的最大值
#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
7
题解 | 小红拿石子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
7
题解 | 小红的三带一
#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
8
题解 | 【模板】快速幂
#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
11
题解 | 小红的方神题
#include <iostream> using namespace std; int main() { int n; cin>>n; if(n == 1 || n == 2){ cout<<-1<<endl...
2026-02-07
1
17