花碗
花碗
全部文章
分类
归档
标签
去牛客网
登录
/
注册
花碗的博客
全部文章
(共14篇)
题解 | 至
先进行排序对每种情况进行分类讨论注意下形成对角线的的两种方式 #include <iostream> #include<algorithm> using namespace std; int main() { ios::sync_with_stdio(false);...
2025-12-20
0
7
题解 | 小红的口罩
#include <functional> #include<vector> #include <iostream> #include<queue> using namespace std; const int N=1e5+10; int main(...
2025-12-19
0
7
题解 | 01串题
#include <iostream> #include<algorithm> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int ...
2025-12-18
0
7
题解 | 剩下的数
#include <iostream> using namespace std; typedef long long ll; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int t; ...
2025-12-17
0
7
题解 | 游游的字母翻倍
#include <iostream> #include<cstring> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); cout.t...
2025-12-16
0
8
题解 | 月月查华华的手机
#include <iostream> #include<cstring> using namespace std; const int N=1e6+10; int a[N][26];//用来储存字符串第k个位置后的字母最近出现的位置 int main() { ios...
2025-12-16
0
10
题解 | 【模板】静态区间最值
#include <cstdio> #include <initializer_list> #include <iostream> #include<algorithm> using namespace std; const int N=5e5+10;...
2025-12-14
0
9
题解 | 智乃的数字
#include<iostream> using namespace std; typedef long long ll; ll check(ll x){ ll m10=(x+5)/10; ll m6=(x+3)/6; ll m=(x+15)/30; re...
2025-12-14
0
10
题解 | 小红的 gcd
高位数求最大公约数 注意到a%b后就在int范围内了 故先取% 在余数相乘过程中可能会越界用long long转换对大数运算时要考虑每次加乘运算后是否越界 #include <iostream> #include<cstring> using namespace std; ...
2025-12-02
0
10
题解 | 构造数独
#include <iostream> using namespace std; int main() { int n,k; scanf("%d%d",&n,&k); int a[n][n]; int t=k/n;//...
2025-12-01
0
10
首页
上一页
1
2
下一页
末页