/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:153:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(int i = 0;i < (int)G1.size();++i) printf("%d ",G1[i]);printf("\n");
   ^~~
/in/foo.cc:153:61: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for(int i = 0;i < (int)G1.size();++i) printf("%d ",G1[i]);printf("\n");
                                                             ^~~~~~
/in/foo.cc:155:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(int i = 0;i < (int)G2.size();++i) printf("%d ",G2[i]);printf("\n");
   ^~~
/in/foo.cc:155:61: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for(int i = 0;i < (int)G2.size();++i) printf("%d ",G2[i]);printf("\n");
                                                             ^~~~~~
/in/foo.cc:134:19: warning: variable 'ans' set but not used [-Wunused-but-set-variable]
   int l = 1,r = n,ans = 1;
                   ^~~
# 状态 耗时 内存占用
#1 Accepted 196ms 2.438 MiB
#2 Accepted 207ms 3.027 MiB
#3 Accepted 222ms 2.461 MiB
#4 Accepted 230ms 2.453 MiB
#5 Time Exceeded ≥251ms ≥2.816 MiB
#6 Time Exceeded ≥251ms ≥2.656 MiB
#7 Time Exceeded ≥251ms ≥2.516 MiB
#8 Time Exceeded ≥253ms ≥3.543 MiB
#9 Time Exceeded ≥253ms ≥3.352 MiB
#10 Time Exceeded ≥251ms ≥2.926 MiB

信息

递交者
类型
递交
题目
P2054 热闹的聚会与尴尬的聚会
语言
C++
递交时间
2019-05-08 11:03:36
评测时间
2019-05-08 11:03:36
评测机
分数
40
总耗时
≥2372ms
峰值内存
≥3.543 MiB