/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'void print(int)':
/in/foo.cc:7:22: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define For(i, a, b) for(int i=a; i<=b; i++)
                      ^
/in/foo.cc:58:2: note: in expansion of macro 'For'
  For(i, 0, 9) printf("%d ", ji[i]); printf("->%d", a);
  ^~~
/in/foo.cc:58:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  For(i, 0, 9) printf("%d ", ji[i]); printf("->%d", a);
                                     ^~~~~~
/in/foo.cc:7:22: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define For(i, a, b) for(int i=a; i<=b; i++)
                      ^
/in/foo.cc:60:2: note: in expansion of macro 'For'
  For(i, 0, 9) printf("%d ", ou[i]); printf("->%d", b);
  ^~~
/in/foo.cc:60:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  For(i, 0, 9) printf("%d ", ou[i]); printf("->%d", b);
                                     ^~~~~~
/in/foo.cc: In function 'void solve2()':
/in/foo.cc:68:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   if(a > b)
     ^
/in/foo.cc: In function 'bool work(int)':
/in/foo.cc:54:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 2ms 312.0 KiB
#2 Wrong Answer 2ms 308.0 KiB
#3 Wrong Answer 9ms 332.0 KiB
#4 Time Exceeded ≥305ms ≥308.0 KiB
#5 Time Exceeded ≥302ms ≥316.0 KiB
#6 Time Exceeded ≥305ms ≥308.0 KiB
#7 Time Exceeded ≥305ms ≥312.0 KiB
#8 Time Exceeded ≥305ms ≥304.0 KiB
#9 Time Exceeded ≥304ms ≥328.0 KiB
#10 Time Exceeded ≥305ms ≥308.0 KiB

信息

递交者
类型
递交
题目
P2026 几乎奇偶等和数
比赛
金秋重聚模拟赛
语言
C++
递交时间
2017-10-07 19:30:22
评测时间
2017-10-07 19:30:22
评测机
分数
10
总耗时
≥2149ms
峰值内存
≥332.0 KiB