/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int solve(int, int, int)':
/in/foo.cc:67:8: warning: operation on 'temp' may be undefined [-Wsequence-point]
   temp = temp ? temp-- : (m-1);
   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:49:6: warning: unused variable 'sum' [-Wunused-variable]
  int sum;   //房间总和 
      ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 220.0 KiB
#2 Wrong Answer 1ms 228.0 KiB
#3 Wrong Answer 3ms 272.0 KiB
#4 Wrong Answer 25ms 596.0 KiB
#5 Wrong Answer 50ms 948.0 KiB
#6 Time Exceeded ≥3001ms ≥5.82 MiB
#7 Time Exceeded ≥3000ms ≥7.559 MiB
#8 Time Exceeded ≥3003ms ≥6.566 MiB
#9 Time Exceeded ≥3000ms ≥7.414 MiB
#10 Time Exceeded ≥3004ms ≥7.875 MiB

信息

递交者
类型
递交
题目
P1787 寻宝
语言
C++
递交时间
2020-09-20 22:51:41
评测时间
2020-09-20 22:51:41
评测机
分数
0
总耗时
≥15094ms
峰值内存
≥7.875 MiB