/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int inn()':
/in/foo.cc:18:14: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   18 |     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 were guarded by the 'while'
   19 |         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]
    2 | #define rep(i,a,b) for(int i=a;i<=b;i++)
      |                    ^~~
/in/foo.cc:3:18: note: in expansion of macro 'rep'
    3 | #define Rep(i,v) rep(i,0,(int)v.size()-1)
      |                  ^~~
/in/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;
      |     ^~~
/in/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;
      |                                                             ^~~~~~
/in/foo.cc: In function 'int main()':
/in/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++)
      |                    ^~~
/in/foo.cc:3:18: note: in expansion of macro 'rep'
    3 | #define Rep(i,v) rep(i,0,(int)v.size()-1)
      |                  ^~~
/in/foo.cc:103:5: note: in expansion of macro 'Rep'
  103 |     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 were guarded by the 'for'
  103 |     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]
    2 | #define rep(i,a,b) for(int i=a;i<=b;i++)
      |                    ^~~
/in/foo.cc:3:18: note: in expansion of macro 'rep'
    3 | #define Rep(i,v) rep(i,0,(int)v.size()-1)
      |                  ^~~
/in/foo.cc:107:5: note: in expansion of macro 'Rep'
  107 |     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 were guarded by the 'for'
  107 |     Rep(i,cur) ss[m]+=cur[i].w;suf[m]=cur;
      |                                ^~~
# 状态 耗时 内存占用
#1 Accepted 27ms 26.562 MiB
#2 Accepted 1681ms 129.867 MiB
#3 Accepted 1676ms 129.75 MiB
#4 Accepted 87ms 35.492 MiB
#5 Accepted 128ms 40.922 MiB
#6 Accepted 127ms 40.918 MiB
#7 Accepted 1745ms 129.867 MiB
#8 Accepted 1734ms 129.871 MiB
#9 Accepted 1740ms 129.863 MiB
#10 Accepted 1747ms 129.629 MiB

信息

递交者
类型
递交
题目
P2053 世界地图
语言
C++
递交时间
2025-06-05 21:54:40
评测时间
2025-06-05 21:54:40
评测机
分数
100
总耗时
10697ms
峰值内存
129.871 MiB