/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:148: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:148: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:150: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:150: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 196ms 4.406 MiB
#2 Accepted 207ms 4.422 MiB
#3 Accepted 238ms 4.547 MiB
#4 Time Exceeded ≥253ms ≥2.531 MiB
#5 Time Exceeded ≥251ms ≥3.582 MiB
#6 Time Exceeded ≥251ms ≥3.789 MiB
#7 Time Exceeded ≥254ms ≥2.516 MiB
#8 Time Exceeded ≥251ms ≥3.789 MiB
#9 Time Exceeded ≥251ms ≥3.211 MiB
#10 Time Exceeded ≥253ms ≥4.57 MiB

信息

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