/ 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 3ms 384.0 KiB
#2 Accepted 2ms 376.0 KiB
#3 Accepted 3ms 340.0 KiB
#4 Time Exceeded ≥1003ms ≥384.0 KiB
#5 Time Exceeded ≥1003ms ≥204.0 KiB
#6 Time Exceeded ≥1003ms ≥356.0 KiB
#7 Accepted 2ms 268.0 KiB
#8 Time Exceeded ≥1003ms ≥360.0 KiB
#9 Accepted 26ms 384.0 KiB
#10 Accepted 3ms 356.0 KiB
#11 Accepted 1ms 348.0 KiB
#12 Accepted 3ms 384.0 KiB

信息

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