/ Vijos /

记录详情

Time Exceeded

/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:62:3: note: in expansion of macro 'rep'
   rep (i,1,pos) printf("%d ",id[i]),mk[id[i]]=1; puts("");
   ^~~
/in/foo.cc:62: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:78:3: note: in expansion of macro 'rep'
   rep (i,1,n) if (col[i]==pos) printf("%d ",i); puts("");
   ^~~
/in/foo.cc:78: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 215ms 3.672 MiB
#2 Accepted 204ms 3.641 MiB
#3 Accepted 213ms 3.625 MiB
#4 Accepted 217ms 3.633 MiB
#5 Accepted 231ms 3.684 MiB
#6 Accepted 223ms 3.684 MiB
#7 Accepted 226ms 3.711 MiB
#8 Accepted 232ms 3.742 MiB
#9 Time Exceeded ≥250ms ≥3.762 MiB
#10 Time Exceeded ≥250ms ≥3.82 MiB

信息

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