/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int rd()':
/in/foo.cc:9:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  while(isdigit(c))x=x*10+c-48,c=getchar();return x;
  ^~~~~
/in/foo.cc:9:43: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
  while(isdigit(c))x=x*10+c-48,c=getchar();return x;
                                           ^~~~~~
/in/foo.cc: In function 'void sol()':
/in/foo.cc:15:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=n;i++)e[i]=0,g[i].clear();S.clear();
  ^~~
/in/foo.cc:15:43: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(int i=1;i<=n;i++)e[i]=0,g[i].clear();S.clear();
                                           ^
/in/foo.cc:22:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=0;i<g[x].size();i++)
               ~^~~~~~~~~~~~
/in/foo.cc:34:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=0;i<g[x].size();i++)
               ~^~~~~~~~~~~~
/in/foo.cc:49:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int j=0;j<g[x].size();j++)if(vis[g[x][j]]){f=0;break;}
                ~^~~~~~~~~~~~
/in/foo.cc:54:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  wr(A.size());putchar(' ');for(int i=0;i<A.size();i++)wr(A[i]),putchar(' ');puts("");
                                        ~^~~~~~~~~
/in/foo.cc:55:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  wr(B.size());putchar(' ');for(int i=0;i<B.size();i++)wr(B[i]),putchar(' ');puts("");
                                        ~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 128ms 2.176 MiB
#2 Accepted 130ms 2.07 MiB
#3 Accepted 147ms 1.746 MiB
#4 Accepted 148ms 1.758 MiB
#5 Accepted 173ms 1.934 MiB
#6 Accepted 248ms 2.258 MiB
#7 Time Exceeded ≥251ms ≥2.129 MiB
#8 Time Exceeded ≥254ms ≥2.523 MiB
#9 Time Exceeded ≥251ms ≥2.457 MiB
#10 Time Exceeded ≥252ms ≥2.715 MiB

信息

递交者
类型
递交
题目
P2054 热闹的聚会与尴尬的聚会
语言
C++
递交时间
2019-05-15 09:29:04
评测时间
2019-05-15 09:29:04
评测机
分数
60
总耗时
≥1986ms
峰值内存
≥2.715 MiB