/ Vijos /

记录详情

Accepted

foo.cc: In function ‘int inn()’:
foo.cc:18:14: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation]
   18 |     x=ch^'0';while((ch=gc)>='0'&&ch<='9')
      |              ^~~~~
foo.cc:19:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’
   19 |         x=(x<<1)+(x<<3)+(ch^'0');return x;
      |                                  ^~~~~~
foo.cc: In function ‘int dfs(int)’:
foo.cc:2:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
    2 | #define rep(i,a,b) for(int i=a;i<=b;i++)
      |                    ^~~
foo.cc:3:18: note: in expansion of macro ‘rep’
    3 | #define Rep(i,v) rep(i,0,(int)v.size()-1)
      |                  ^~~
foo.cc:38:5: note: in expansion of macro ‘Rep’
   38 |     Rep(i,g[x]) y=g[x][i],dpt[y]=dpt[x]+1,up[y][0]=x,dfs(y);return 0;
      |     ^~~
foo.cc:38:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
   38 |     Rep(i,g[x]) y=g[x][i],dpt[y]=dpt[x]+1,up[y][0]=x,dfs(y);return 0;
      |                                                             ^~~~~~
foo.cc: In function ‘int main()’:
foo.cc:2:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
    2 | #define rep(i,a,b) for(int i=a;i<=b;i++)
      |                    ^~~
foo.cc:3:18: note: in expansion of macro ‘rep’
    3 | #define Rep(i,v) rep(i,0,(int)v.size()-1)
      |                  ^~~
foo.cc:103:5: note: in expansion of macro ‘Rep’
  103 |     Rep(i,cur) ps[1]+=cur[i].w;pre[1]=cur;
      |     ^~~
foo.cc:103:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  103 |     Rep(i,cur) ps[1]+=cur[i].w;pre[1]=cur;
      |                                ^~~
foo.cc:2:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
    2 | #define rep(i,a,b) for(int i=a;i<=b;i++)
      |                    ^~~
foo.cc:3:18: note: in expansion of macro ‘rep’
    3 | #define Rep(i,v) rep(i,0,(int)v.size()-1)
      |                  ^~~
foo.cc:107:5: note: in expansion of macro ‘Rep’
  107 |     Rep(i,cur) ss[m]+=cur[i].w;suf[m]=cur;
      |     ^~~
foo.cc:107:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  107 |     Rep(i,cur) ss[m]+=cur[i].w;suf[m]=cur;
      |                                ^~~
# 状态 耗时 内存占用
#1 Accepted 38ms 26.523 MiB
#2 Accepted 123ms 39.273 MiB
#3 Accepted 141ms 44.766 MiB
#4 Accepted 146ms 44.773 MiB
#5 Accepted 1185ms 129.781 MiB
#6 Accepted 1215ms 129.734 MiB
#7 Accepted 1223ms 129.773 MiB
#8 Accepted 1257ms 129.938 MiB
#9 Accepted 1244ms 129.773 MiB
#10 Accepted 1221ms 129.773 MiB

信息

递交者
类型
递交
题目
P2053 世界地图
语言
C++
递交时间
2025-02-28 20:50:05
评测时间
2025-02-28 20:50:05
评测机
分数
100
总耗时
7797ms
峰值内存
129.938 MiB