摘要: #include<bits/stdc++.h> using namespace std; namespace IO { char buf[50]; } inline void qr(int &x){char ch=getchar(),lst=' ';while(ch>'9'||ch<'0')lst= 阅读全文
posted @ 2024-10-23 20:24 yzc_is_SadBee 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 又角果,唐 #include<bits/stdc++.h> using namespace std; const int inf=0x3f3f3f3f; int n,ans=-inf; int a[105]; int f[150][150],g[150][150]; char c[105]; int 阅读全文
posted @ 2024-10-23 19:47 yzc_is_SadBee 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 题解 #include<bits/stdc++.h> using namespace std; struct edge { int to,nxt; } e[1000010<<1]; int n,cnt,id; int head[1000010]; long long ans; long long f 阅读全文
posted @ 2024-10-23 18:59 yzc_is_SadBee 阅读(1) 评论(0) 推荐(0) 编辑
摘要: buxiangzuola #include<bits/stdc++.h> using namespace std; #define F(i,a,b) for(register int i=a,i##end=b;i<=i##end;++i) #define UF(i,a,b) for(register 阅读全文
posted @ 2024-10-23 15:57 yzc_is_SadBee 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 切不动了!!! #include<bits/stdc++.h> #define rep(i,a,b) for(int i=a;i<=b;++i) using namespace std; inline int read(){int x=0;bool f=0;char ch=getchar();whi 阅读全文
posted @ 2024-10-22 20:39 yzc_is_SadBee 阅读(2) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; int p,q,dp[15][15],a[15]; void init() { for(int i=0;i<=9;i++) dp[1][i]=1; for(int i=2;i<=10;i++)for(int j 阅读全文
posted @ 2024-10-22 20:08 yzc_is_SadBee 阅读(2) 评论(0) 推荐(0) 编辑
摘要: #include <bits/stdc++.h> using namespace std; typedef long long long long; const int INF=0x3f3f3f3f; const long long mod=1e9+7; long long c1[1000005], 阅读全文
posted @ 2024-10-22 18:54 yzc_is_SadBee 阅读(1) 评论(0) 推荐(0) 编辑
摘要: sb大括号,卡我114514ms #include <bits/stdc++.h> using namespace std; const int maxn=100005,maxk=104,mod=1000000007; int f[maxn][maxk][2][2]; int g[maxk][2][ 阅读全文
posted @ 2024-10-22 18:16 yzc_is_SadBee 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 胶过,唐 #include<bits/stdc++.h> using namespace std; int n,m; double a[100010]; struct node { double mx; int len; #define m(x) t[x].mx #define l(x) t[x]. 阅读全文
posted @ 2024-10-22 16:53 yzc_is_SadBee 阅读(1) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; inline int read(){int x=0;bool f=0;char ch=getchar();while (ch<'0'||ch>'9'){if (ch=='-') f=1;ch=getchar() 阅读全文
posted @ 2024-10-22 16:13 yzc_is_SadBee 阅读(1) 评论(0) 推荐(0) 编辑