/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'bool check1()':
/in/foo.cc:18:6: warning: unused variable 'k' [-Wunused-variable]
  int k = 0, now, nowa, nowb, nowc;
      ^
/in/foo.cc: In function 'void check()':
/in/foo.cc:5:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define REP(i, n) for(int i = 1; i <= n; i ++)
                   ^
/in/foo.cc:36:2: note: in expansion of macro 'REP'
  REP(i, n) printf("%d ", num[i]); puts(""); exit(0);
  ^~~
/in/foo.cc:36:35: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  REP(i, n) printf("%d ", num[i]); puts(""); exit(0);
                                   ^~~~
# 状态 耗时 内存占用
#1 Time Exceeded ≥1003ms ≥728.0 KiB
#2 Accepted 4ms 728.0 KiB
#3 Accepted 3ms 768.0 KiB
#4 Accepted 47ms 640.0 KiB
#5 Accepted 383ms 736.0 KiB
#6 Accepted 46ms 748.0 KiB
#7 Time Exceeded ≥1003ms ≥760.0 KiB
#8 Time Exceeded ≥1002ms ≥724.0 KiB
#9 Time Exceeded ≥1005ms ≥768.0 KiB
#10 Accepted 3ms 2.348 MiB

信息

递交者
类型
递交
题目
P1099 虫食算
语言
C++
递交时间
2018-06-20 13:26:16
评测时间
2018-06-20 13:26:16
评测机
分数
60
总耗时
≥4503ms
峰值内存
≥2.348 MiB