/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:151: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:151: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:153: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: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)G2.size();++i) printf("%d ",G2[i]);printf("\n");
                                                             ^~~~~~
/in/foo.cc:133:19: warning: variable 'ans' set but not used [-Wunused-but-set-variable]
   int l = 1,r = n,ans = 1;
                   ^~~
# 状态 耗时 内存占用
#1 Accepted 196ms 2.43 MiB
#2 Accepted 208ms 3.172 MiB
#3 Wrong Answer 210ms 2.879 MiB
#4 Wrong Answer 235ms 2.43 MiB
#5 Time Exceeded ≥255ms ≥2.57 MiB
#6 Time Exceeded ≥252ms ≥3.523 MiB
#7 Time Exceeded ≥251ms ≥2.848 MiB
#8 Time Exceeded ≥254ms ≥2.527 MiB
#9 Time Exceeded ≥256ms ≥3.441 MiB
#10 Time Exceeded ≥255ms ≥3.043 MiB

信息

递交者
类型
递交
题目
P2054 热闹的聚会与尴尬的聚会
语言
C++
递交时间
2019-05-08 10:23:59
评测时间
2019-05-08 10:23:59
评测机
分数
20
总耗时
≥2377ms
峰值内存
≥3.523 MiB