/ 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 25ms 26.461 MiB
#2 Accepted 1946ms 129.762 MiB
#3 Accepted 1938ms 129.762 MiB
#4 Accepted 102ms 35.285 MiB
#5 Accepted 141ms 40.645 MiB
#6 Accepted 142ms 40.641 MiB
#7 Accepted 1987ms 129.754 MiB
#8 Accepted 1975ms 129.758 MiB
#9 Accepted 1938ms 129.711 MiB
#10 Accepted 1949ms 129.652 MiB

信息

递交者
类型
递交
题目
P2053 世界地图
语言
C++
递交时间
2024-12-20 21:13:28
评测时间
2024-12-20 21:13:42
评测机
分数
100
总耗时
12146ms
峰值内存
129.762 MiB