/ 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 26ms 26.453 MiB
#2 Accepted 1901ms 130.305 MiB
#3 Accepted 1896ms 129.707 MiB
#4 Accepted 98ms 35.719 MiB
#5 Accepted 137ms 40.676 MiB
#6 Accepted 135ms 40.684 MiB
#7 Accepted 1937ms 129.707 MiB
#8 Accepted 1927ms 129.703 MiB
#9 Accepted 1939ms 129.746 MiB
#10 Accepted 1952ms 129.758 MiB

信息

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