/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:154: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:154: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:156: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:156: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:135:19: warning: variable 'ans' set but not used [-Wunused-but-set-variable]
   int l = 1,r = n,ans = 1;
                   ^~~
# 状态 耗时 内存占用
#1 Time Exceeded ≥254ms ≥200.0 KiB
#2 Time Exceeded ≥255ms ≥268.0 KiB
#3 Time Exceeded ≥255ms ≥200.0 KiB
#4 Time Exceeded ≥254ms ≥204.0 KiB
#5 Time Exceeded ≥253ms ≥208.0 KiB
#6 Time Exceeded ≥254ms ≥204.0 KiB
#7 Time Exceeded ≥254ms ≥200.0 KiB
#8 Time Exceeded ≥254ms ≥204.0 KiB
#9 Time Exceeded ≥256ms ≥288.0 KiB
#10 Time Exceeded ≥254ms ≥200.0 KiB

信息

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