/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:133: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:133: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:135: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:135: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:113:19: warning: variable 'ans' set but not used [-Wunused-but-set-variable]
   int l = 1,r = n,ans = 1;
                   ^~~
# 状态 耗时 内存占用
#1 Accepted 223ms 2.348 MiB
#2 Accepted 249ms 1.875 MiB
#3 Time Exceeded ≥250ms ≥1.871 MiB
#4 Time Exceeded ≥251ms ≥1.887 MiB
#5 Time Exceeded ≥250ms ≥1.906 MiB
#6 Time Exceeded ≥250ms ≥1.934 MiB
#7 Time Exceeded ≥252ms ≥1.973 MiB
#8 Time Exceeded ≥251ms ≥2.008 MiB
#9 Time Exceeded ≥252ms ≥2.035 MiB
#10 Time Exceeded ≥251ms ≥2.094 MiB

信息

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