czcczz
czcczz
全部文章
分类
归档
标签
去牛客网
登录
/
注册
czcczz的博客
全部文章
(共13篇)
题解 | 旅游
#include<bits/stdc++.h> using namespace std; #define int long long const int N=4e4+10,M=2e4+10; int n,m,c; int f[N]; struct Way{ int dis; int ...
2025-11-19
0
13
题解 | 奶牛排排站
#include<bits/stdc++.h> using namespace std; #define int long long int n,k; const int N=25; int fac[N]; void init_fac() { fac[0]=1; for(...
2025-11-18
0
13
题解 | 收集纸片
#include<bits/stdc++.h> using namespace std; const int N=25; int mp[N][N]; int n; int minlen=0x3f3f3f3f; int res; int x,y; pair<int,int> p...
2025-11-17
0
11
题解 | 小红的扫雷游戏
#include<bits/stdc++.h> using namespace std; const int N=6; char mp[N][N]; bool vis[N][N]; bool if_X[N][N]; int num_X[N][N]; int ssum; void dfs...
2025-11-17
0
14
题解 | 小苯的因子查询
#include<bits/stdc++.h> using namespace std; #define int long long const int M=998244353,N=1e6+10; int count2[N]; int ny[N]; int ksm(int a,int b...
2025-11-15
0
15
题解 | GCPC总决赛
#include<bits/stdc++.h> using namespace std; const int N=15; int a[N],b[N]; int w=0,t=0,f=0; int n; bool vis[N]; int wsum=0; void dfs(int j) { ...
2025-11-11
0
15
题解 | 小欧皇
#include<bits/stdc++.h> using namespace std; #define int long long const int N=100005; int n,m; int a[N],siz[N]; bool vis[N]; vector<int> ...
2025-11-10
0
18
题解 | 绝命沙虫
#include<iostream> #include<algorithm> using namespace std; #define int long long void solve() { int n; double m; int red=0,gr...
2025-11-10
0
14
题解 | 小红书推荐系统
#include <bits/stdc++.h> #include <climits> #include <string> using namespace std; string ss; unordered_map<string,int> res; s...
2025-11-10
0
17
题解 | 【模板】二维前缀和
#include <iostream> using namespace std; #define int long long const int N=1e3+10; int a[N][N]; int s[N][N]; int n,m,q; signed main() { cin...
2025-11-06
0
19
首页
上一页
1
2
下一页
末页