/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:48:50: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   for(int i=1;i<=n;i++){v[i].clear(); vis[i]=d[i]=0;}
                                              ~~~~^~
/in/foo.cc:60:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    if(vis[t.se])continue; vis[t.se]=1;
    ^~
/in/foo.cc:60:27: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    if(vis[t.se])continue; vis[t.se]=1;
                           ^~~
/in/foo.cc:68:8: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
   wri(n-pos+1); for(int i=pos;i<=n;i++)wri(q[i]); puts("");
       ~^~~~
# 状态 耗时 内存占用
#1 Accepted 100ms 2.738 MiB
#2 Accepted 103ms 3.113 MiB
#3 Accepted 106ms 2.637 MiB
#4 Accepted 104ms 2.867 MiB
#5 Accepted 116ms 2.785 MiB
#6 Accepted 122ms 3.082 MiB
#7 Accepted 127ms 2.969 MiB
#8 Accepted 134ms 3.25 MiB
#9 Accepted 140ms 3.055 MiB
#10 Accepted 149ms 3.199 MiB

信息

递交者
类型
递交
题目
P2054 热闹的聚会与尴尬的聚会
比赛
山东省选2019同步赛——第二场
语言
C++
递交时间
2019-05-07 13:12:12
评测时间
2019-05-07 13:12:12
评测机
分数
100
总耗时
1205ms
峰值内存
3.25 MiB