/ Vijos /

记录详情

Runtime Error

/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:59:3: note: in expansion of macro 'rep'
   rep (i,1,pos) printf("%d ",id[i]),mk[id[i]]=1; puts("");
   ^~~
/in/foo.cc:59: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:75:3: note: in expansion of macro 'rep'
   rep (i,1,n) if (col[i]==pos) printf("%d ",i); puts("");
   ^~~
/in/foo.cc:75: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 Runtime Error 59ms 2.984 MiB
#2 Runtime Error 59ms 2.898 MiB
#3 Runtime Error 55ms 2.879 MiB
#4 Runtime Error 59ms 2.93 MiB
#5 Runtime Error 61ms 2.996 MiB
#6 Runtime Error 60ms 3.016 MiB
#7 Runtime Error 61ms 3.039 MiB
#8 Runtime Error 62ms 3.055 MiB
#9 Runtime Error 64ms 3.109 MiB
#10 Runtime Error 63ms 3.137 MiB

信息

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