/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'void dfs(int, int, int)':
/in/foo.cc:33:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(could)dfs(now+1,eat,waste);return;
   ^~
/in/foo.cc:33:33: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(could)dfs(now+1,eat,waste);return;
                                 ^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:36:11: warning: unused variable 'start' [-Wunused-variable]
   clock_t start = clock();
           ^~~~~
# 状态 耗时 内存占用
#1 Accepted 5ms 368.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Accepted 3ms 372.0 KiB
#4 Time Exceeded ≥1001ms ≥256.0 KiB
#5 Time Exceeded ≥1002ms ≥380.0 KiB
#6 Time Exceeded ≥1001ms ≥340.0 KiB
#7 Accepted 3ms 384.0 KiB
#8 Time Exceeded ≥1002ms ≥364.0 KiB
#9 Accepted 19ms 496.0 KiB
#10 Accepted 2ms 256.0 KiB
#11 Accepted 3ms 384.0 KiB
#12 Accepted 3ms 364.0 KiB

信息

递交者
类型
递交
题目
P1020 切蛋糕
语言
C++
递交时间
2018-08-07 16:32:14
评测时间
2018-08-07 16:32:14
评测机
分数
80
总耗时
≥4052ms
峰值内存
≥496.0 KiB