/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:38:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    if (vis[u]) continue; vis[u]=1,id[++tot]=u;
    ^~
/in/foo.cc:38:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    if (vis[u]) continue; vis[u]=1,id[++tot]=u;
                          ^~~
/in/foo.cc:2:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define rep(i,x,y) for (int i=(x);i<=(y);i++)
                    ^
/in/foo.cc:56:3: note: in expansion of macro 'rep'
   rep (i,1,pos) printf("%d ",id[i]),mk[id[i]]=1; puts("");
   ^~~
/in/foo.cc:56:50: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   rep (i,1,pos) printf("%d ",id[i]),mk[id[i]]=1; puts("");
                                                  ^~~~
/in/foo.cc:2:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define rep(i,x,y) for (int i=(x);i<=(y);i++)
                    ^
/in/foo.cc:72:3: note: in expansion of macro 'rep'
   rep (i,1,n) if (col[i]==pos) printf("%d ",i); puts("");
   ^~~
/in/foo.cc:72:49: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   rep (i,1,n) if (col[i]==pos) printf("%d ",i); puts("");
                                                 ^~~~
# 状态 耗时 内存占用
#1 Accepted 184ms 3.672 MiB
#2 Accepted 192ms 3.625 MiB
#3 Wrong Answer 191ms 3.645 MiB
#4 Wrong Answer 187ms 3.625 MiB
#5 Wrong Answer 212ms 3.621 MiB
#6 Wrong Answer 210ms 3.617 MiB
#7 Wrong Answer 218ms 3.648 MiB
#8 Wrong Answer 221ms 3.699 MiB
#9 Wrong Answer 218ms 3.691 MiB
#10 Wrong Answer 211ms 3.82 MiB

信息

递交者
类型
递交
题目
P2054 热闹的聚会与尴尬的聚会
语言
C++
递交时间
2019-05-07 20:22:29
评测时间
2019-05-07 20:22:29
评测机
分数
20
总耗时
2049ms
峰值内存
3.82 MiB