这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《大佬救救孩子吧qaq》回复:
@[KesdiaelKen](/user/32275) 树状数组和线段数不支持插入呀qaq
```cpp #include #define rep(i,a,b) for(int i=a;i >n; //rep(i,1,n)f[i][0]=9999999,f[i][1]=9999999; rep(i,1,n) { int c;scanf("%d",&c);scanf("%d%d",&a[c],&m); //if…
在讨论《自制游戏【名字大作战】2.0.5 (剧情模式来袭!)》回复:
前排
```cpp #include #define rep(i,a,b) for(int i=a;i dis[b]; } }; void dijkistra(int s) { priority_queue ,cmp>q; rep(i,1,n)dis[i]=2147483647;dis[s]=0; q.push(s); wh…
```cpp #include #define rep(i,a,b) for(int i=a;i dis[b]; } }; priority_queue ,cmp>q; void dijkistra(int s) { rep(i,1,n)dis[i]=-99999;dis[s]=1; q.push(s); while(…
在讨论《中间两点A了 其余WA QAQ~~~~~~》回复:
@[da32s1da](/space/show?uid=50092)
```cpp #include #include #include #define rep(i,a,b) for(int i=a;i b.s;} int main() { cin>>n>>r>>q; rep(i,1,2*n){scanf("%d",&a[i].s);a[i].b=i;} rep(i,1,2*n){sca…
```cpp #include #include using namespace std; int n,m,ans; int d[100050],f[100050][20],c[100050]; bool vis[50010]; int head[100050],now=1; struct wfq{ int to,nx…
```cpp #include #include using namespace std; int n,t=0; long long ans; int aa[500050],e[500050]; struct wfq{ int v,ord; }a[500050]; int cmp(const wfq &a,const…
在讨论《为什么用的记忆化第二个点T了..求大佬OrRT》回复:
@[准点的星辰](/space/show?uid=54502) 我能怎么办?我也很绝望啊。
在讨论《为什么用的记忆化第二个点T了..求大佬OrRT》回复:
@[准点的星辰](/space/show?uid=54502) 我现在想特判...
在讨论《为什么用的记忆化第二个点T了..求大佬OrRT》回复:
@[つきみやあゆ](/space/show?uid=100019) 那我应该怎么办呢? QAQ
RT #include #include #include using namespace std; int r,c,st=1; int f[101][101],h[101][101]; int dx[5]={0,1,-1,0,0},dy[5]={0,0,0,1,-1}; bool vis[101][101]; int…
在讨论《团队封禁通告+对加入团队的警告》回复:
前排支持
```cpp #include #include #include #include using namespace std; int h,p; int ar[105][105],f[105][105],c[105]; int main() { cin>>h>>p; for(int i=1;i >ar[i][j]; }…
在讨论《11.1 更新日志 + 部分常见问题答疑》回复:
zici
```cpp #include #include #include #include #include using namespace std; vector a[105]; int n,k,m,s,t,head,tail,num; int ci[105],dis[105],w[105][105],team[1601]…
```cpp #include #include using namespace std; int n,m,w; int c[10005],d[10005],fa[10005],p[10005],v[10005],f[10005]; int father(int x) { if(fa[x]!=x)fa[x]=fathe…
在讨论《店长侵犯了消费者的什么权利?》回复:
@[Delta\_Cosh](/space/show?uid=62575) 大佬大佬
在讨论《SPFA动态数组》回复:
@[Lolierl](/space/show?uid=22930) STL不是容易超时么?
在讨论《SPFA动态数组》回复:
@[KingLolierl](/space/show?uid=22930) 萌新刚学~~~~~~不会....
```cpp #include #include #include #include using namespace std; int n,p,c; int u,b[500],w[805][805],team[1601],tot,minn=99999999,dis[1601],head,tail; //b是存牛所在的农…
```cpp #include #include #include using namespace std; int n,m,fa[305],maxx,k; struct cd{ int x; int y; int v; }; cd lu[50005]; int father(int x) { if(fa[x]!=x)…
```cpp #include #include #include using namespace std; int f[1500][1005],T[105],v[105]; int main() { int t,m; cin>>t>>m; for(int i=1;i >T[i]>>v[i]; } for(int i=…
```cpp for(int i=0;i 128)x2=128; int y1=j-d;if(y1 128)y2=128; for(int k=x1;k maxx) { maxx=summ[i][j]; tot=0; } if(summ[i][j]==maxx)tot++; } ```
在讨论《浴谷金秋线上集训营开始报名》回复:
你问资词不资词,我说资词
在讨论《求救dalao,这么写为什么不对...》回复:
@[aHeartofanangel](/space/show?uid=48152) 可是我这个深搜连答案都不对啊
```cpp #include #include using namespace std; struct cd { int x; int y; }; cd zb[3]; int mh[8]={-1,-1,1,2,2,1,-1,-2},ml[8]={1,2,2,1,-1,-2,-2,-1},sum=0; char vis…