/ 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:132:19: warning: variable 'ans' set but not used [-Wunused-but-set-variable]
   int l = 1,r = n,ans = 1;
                   ^~~
# 状态 耗时 内存占用
#1 Accepted 187ms 2.672 MiB
#2 Accepted 181ms 2.434 MiB
#3 Accepted 207ms 4.551 MiB
#4 Accepted 232ms 4.559 MiB
#5 Time Exceeded ≥251ms ≥2.477 MiB
#6 Time Exceeded ≥251ms ≥4.594 MiB
#7 Time Exceeded ≥251ms ≥2.512 MiB
#8 Time Exceeded ≥250ms ≥4.562 MiB
#9 Time Exceeded ≥253ms ≥4.5 MiB
#10 Time Exceeded ≥253ms ≥4.535 MiB

信息

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