/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int inn()':
/in/foo.cc:18:14: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     x=ch^'0';while((ch=gc)>='0'&&ch<='9')
              ^~~~~
/in/foo.cc:19:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
         x=(x<<1)+(x<<3)+(ch^'0');return x;
                                  ^~~~~~
/in/foo.cc: In function 'int dfs(int)':
/in/foo.cc:2:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define rep(i,a,b) for(int i=a;i<=b;i++)
                    ^
/in/foo.cc:3:18: note: in expansion of macro 'rep'
 #define Rep(i,v) rep(i,0,(int)v.size()-1)
                  ^~~
/in/foo.cc:38:5: note: in expansion of macro 'Rep'
     Rep(i,g[x]) y=g[x][i],dpt[y]=dpt[x]+1,up[y][0]=x,dfs(y);return 0;
     ^~~
/in/foo.cc:38:61: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     Rep(i,g[x]) y=g[x][i],dpt[y]=dpt[x]+1,up[y][0]=x,dfs(y);return 0;
                                                             ^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:2:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define rep(i,a,b) for(int i=a;i<=b;i++)
                    ^
/in/foo.cc:3:18: note: in expansion of macro 'rep'
 #define Rep(i,v) rep(i,0,(int)v.size()-1)
                  ^~~
/in/foo.cc:103:5: note: in expansion of macro 'Rep'
     Rep(i,cur) ps[1]+=cur[i].w;pre[1]=cur;
     ^~~
/in/foo.cc:103:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     Rep(i,cur) ps[1]+=cur[i].w;pre[1]=cur;
                                ^~~
/in/foo.cc:2:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define rep(i,a,b) for(int i=a;i<=b;i++)
                    ^
/in/foo.cc:3:18: note: in expansion of macro 'rep'
 #define Rep(i,v) rep(i,0,(int)v.size()-1)
                  ^~~
/in/foo.cc:107:5: note: in expansion of macro 'Rep'
     Rep(i,cur) ss[m]+=cur[i].w;suf[m]=cur;
     ^~~
/in/foo.cc:107:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     Rep(i,cur) ss[m]+=cur[i].w;suf[m]=cur;
                                ^~~
# 状态 耗时 内存占用
#1 Accepted 27ms 42.34 MiB
#2 Accepted 2319ms 133.367 MiB
#3 Accepted 2318ms 133.359 MiB
#4 Accepted 142ms 47.012 MiB
#5 Accepted 210ms 48.285 MiB
#6 Accepted 204ms 49.703 MiB
#7 Accepted 2389ms 133.426 MiB
#8 Accepted 2380ms 131.402 MiB
#9 Accepted 2292ms 133.43 MiB
#10 Accepted 2301ms 133.34 MiB

信息

递交者
类型
递交
题目
P2053 世界地图
语言
C++
递交时间
2020-04-30 17:38:45
评测时间
2020-04-30 17:38:45
评测机
分数
100
总耗时
14587ms
峰值内存
133.43 MiB