/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define Rep(x,y,z) for(int x=y;x<=z;++x)
                    ^
/in/foo.cc:71:2: note: in expansion of macro 'Rep'
  Rep(i,1,n)if(G[i])cnt++;cout<<cnt<<'\n';
  ^~~
/in/foo.cc:71:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  Rep(i,1,n)if(G[i])cnt++;cout<<cnt<<'\n';
                          ^~~~
/in/foo.cc:8:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define Rep(x,y,z) for(int x=y;x<=z;++x)
                    ^
/in/foo.cc:72:2: note: in expansion of macro 'Rep'
  Rep(i,1,n)if(G[i])cout<<i<<' ';cout<<'\n';
  ^~~
/in/foo.cc:72:33: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  Rep(i,1,n)if(G[i])cout<<i<<' ';cout<<'\n';
                                 ^~~~
# 状态 耗时 内存占用
#1 Accepted 10ms 28.297 MiB
#2 Accepted 10ms 28.301 MiB
#3 Accepted 10ms 28.297 MiB
#4 Accepted 11ms 28.301 MiB
#5 Accepted 33ms 28.301 MiB
#6 Accepted 33ms 28.301 MiB
#7 Accepted 37ms 40.297 MiB
#8 Accepted 35ms 28.223 MiB
#9 Accepted 33ms 28.305 MiB
#10 Accepted 34ms 28.328 MiB
#11 Accepted 1521ms 76.93 MiB
#12 Accepted 1508ms 87.945 MiB
#13 Accepted 1488ms 87.926 MiB
#14 Accepted 1492ms 86.094 MiB
#15 Accepted 1444ms 91.141 MiB
#16 Accepted 1452ms 91.188 MiB
#17 Accepted 1422ms 88.352 MiB
#18 Accepted 1421ms 85.711 MiB
#19 Accepted 1471ms 76.633 MiB
#20 Accepted 1428ms 85.418 MiB

信息

递交者
类型
递交
题目
P2023 遗忘的集合
语言
C++
递交时间
2020-05-10 12:12:13
评测时间
2020-05-10 12:12:13
评测机
分数
100
总耗时
14902ms
峰值内存
91.188 MiB