缝纫机渴了
缝纫机渴了
全部文章
分类
归档
标签
去牛客网
登录
/
注册
缝纫机渴了的博客
全部文章
(共30篇)
题解 | 小红的魔法药剂
//注意下标从一开始 #include <bits/stdc++.h> using namespace std; const int N=1e5+9; using ll=long long; int main() { int n;cin>>n; int a[N],b[...
2026-01-05
0
14
题解 | 灵异背包?
#include <bits/stdc++.h> using namespace std; const int N=1e5+9; using ll=long long; int main() { int n;cin>>n; int a[N],b[N]; ll ...
2026-01-05
0
23
题解 | 小红的字符串
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false),cin.tie(NULL),cout.tie(NULL); string s;cin>>s...
2026-01-05
0
20
题解 | 讨厌鬼进货
#include <bits/stdc++.h> using namespace std; const int N=1e5+9; int main() { int n,x;cin>>n>>x; int a[N],b[N]; for(int ...
2026-01-05
0
18
题解 | 牛牛与切割机
//小心溢出 #include <bits/stdc++.h> using namespace std; const int N=1e6+9; using ll=long long; ll n,a[N],prefix[N]; int main() { cin>>n; ...
2026-01-04
0
19
题解 | 舞萌时间到!
#include <bits/stdc++.h> using namespace std; const int N=1e6+9; int main() { string s;cin>>s; int n=s.length(); s=' '+s; int a[...
2026-01-04
0
19
题解 | 计算一年中的第几天
#include <bits/stdc++.h> using namespace std; int days[13]={3,31,28,31,30,31,30,31,31,30,31,30,31}; bool isLeapYear(int year) { return (year...
2026-01-04
0
20
题解 | 支付宝消费打折
//注意精度 #include <bits/stdc++.h> #include <random> using namespace std; const int N=1e5+9; using ll=long long; struct Good{ double pric...
2026-01-04
0
18
题解 | 小苯送礼物
#include <bits/stdc++.h> using namespace std; struct Person { int id; int x; int y; int power; }; bool cmp(Person p1,Person p2) ...
2026-01-04
0
15
题解 | 最大公因数与最小公倍数
#include <iostream> using namespace std; long long Gcd(int a,int b) { return b==0?a:Gcd(b,a%b); } long long Lcm(int a,int b) { return a/...
2026-01-04
0
23
首页
上一页
1
2
3
下一页
末页