这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```cpp #include #define ll long long using namespace std; const int N=100010; struct Q{ int u,v,t,id; }q[N]; struct M{ int next,last,u; }c[N]; int tp,type,n,m,q…
关于四边形不等式DP ```cpp #include #define ll long long #define too 1e18 using namespace std; const int N=1e5+10; struct Node{ int l,r,p; }q[10*N]; int T,n,l,p,h,t,d[N]…
- ans_max=M_max*c[i]_max=1000*2000000=2000000000=2*10^9 - 但这题必须开long long才可过
```cpp #include #define ll long long using namespace std; struct mrx{ ll d[3][3]; }a,b; ll n,m,f=0; mrx qc(mrx x,mrx y){//矩阵乘法 mrx ret; for(int i=0;i<3;i++) for…
```cpp #include using namespace std; const int N=1000010; const int sN=1020; int n,q,wx[N],yx[N],add[sN],size,ll,rr,cc; char opt; int cal(int x){ return (x-1)/s…
在讨论《无良商家》回复:
~~这个故事告诉你~~ **优惠也可以比原价贵的呢**
```cpp #include using namespace std; const int bc=1721424; const int ru=1461; const int G=577737; int D[]={0,31,28,31,30,31,30,31,31,30,31,30,31}; int q; long l…
```cpp #include using namespace std; const int N=1e6+10; unsigned long long lis,tab,ans=1,n,m,c,k,a,p,q; int main(){ scanf("%llu%llu%llu%llu",&n,&m,&c,&k); for(…
```cpp #include using namespace std; const int N=1e4+10; const int M=1e5+10; struct edge{ int v,next; }e[M]; struct Edge{ int v,next; }E[M]; int n,m,val[N],head…
在讨论《92pts求助!!!第11个点WA了 qwq》回复:
@[_HMZ_](/user/355640) 大佬能讲讲是什么栈吗\ ~~我的代码里貌似没有用到栈~~
```cpp #include using namespace std; const int N=2e4+10; const int M=2e5+10; struct Edge{ int v,next; }e[M*2]; int n,m,cnt,head[N],num[N],low[N],x,y,tim,root,an…
在讨论《数据范围应该错了》回复:
好像真错了 ~~**离大谱**~~
在讨论《萌新求助 24pts》回复:
@[liuzhifei123](/user/294875) 我也是开到10e6+10才过的,10e5+10只有24pts...~~数据阴间,与题面不符~~
```cpp #include using namespace std; const int N=5e3+10; struct Edge{ int v,w,next; }e[N]; int n,m,a,b,c; long long ans[N]; int cnt,head[N]; int que[N*N],h,t; i…
在讨论《真就随机ce呗》回复:
我也随机CE了 同一份代码分数越交越少。。。 洛谷日爆
在讨论《这题能用分块吗???样例能过,交上去全WA!求大佬康康》回复:
@[FunnyCreatress](/user/77174) 谢巨佬!!! 每日三膜 orz orz orz
```cpp #include using namespace std; const int N=1e6+10; struct Node{ long long sum; int l,r; }s[1010]; int a[N],o,le,ri,pos[N],n,q; int main(){ scanf("%d%d",&n…
在讨论《CSP-S 考后感》回复:
初赛支持爆零的吗
在讨论《求助!!!大佬帮忙康康这代码第五个点为什么WA了???》回复:
@[Liuyuzhuo](/user/221575) 谢大佬 每日三膜orz
```cpp #include using namespace std; int n,m; long long a[100010],sum,maxx; int f(int x){ int cnt=1;//分的段数 long long s=0;//该子段的和 for(int i=1;i m) l=mid+1;//x取得过…
```cpp #include using namespace std; struct people{ int t,x; }s[300001]; int main(){ int n,k,time,v=0,head,tail,cnt=0,first=1; bool f,a[100001]; cin>>n; for(int…
```cpp #include using namespace std; struct MONEY{ int a,b,c; }t[100001]; int main(){ int n,m=0; bool flag; cin>>n; for(int i=1;i >t[i].a>>t[i].b>>t[i].c; for(i…