/ Vijos /

记录详情

Accepted

foo.cc: In function 'int inn()':
foo.cc:18:18: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   18 |         x=ch^'0';while((ch=gc)>='0'&&ch<='9')
      |                  ^~~~~
foo.cc:19:42: 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:9: 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:65: 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:9: note: in expansion of macro 'Rep'
  103 |         Rep(i,cur) ps[1]+=cur[i].w;pre[1]=cur;
      |         ^~~
foo.cc:103:36: 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:9: note: in expansion of macro 'Rep'
  107 |         Rep(i,cur) ss[m]+=cur[i].w;suf[m]=cur;
      |         ^~~
foo.cc:107:36: 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;
      |                                    ^~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 52ms 26.395 MiB
#2 Accepted 2082ms 129.754 MiB
#3 Accepted 1907ms 129.773 MiB
#4 Accepted 193ms 39.223 MiB
#5 Accepted 238ms 44.684 MiB
#6 Accepted 187ms 44.656 MiB
#7 Accepted 1974ms 129.77 MiB
#8 Accepted 1996ms 129.82 MiB
#9 Accepted 2072ms 129.77 MiB
#10 Accepted 2024ms 129.801 MiB

信息

递交者
类型
递交
题目
P2053 世界地图
语言
C++
递交时间
2023-07-30 17:05:09
评测时间
2023-07-30 17:05:09
评测机
分数
100
总耗时
12730ms
峰值内存
129.82 MiB