/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:78:55: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
   printf("%d\n", max(t[i - 1] + p[i], t[i] + 2 * q[i]));//输出每一种情况下的最优解
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-07-10T04:22:41.845Z","handle":"2020-07-10T04:22:41.845Z","cache_start":"2020-07-10T04:22:41.857Z","read_cases":"2020-07-10T04:22:41.976Z","judge":"2020-07-10T04:22:41.977Z","done":"2020-07-10T04:22:43.468Z"}
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB
#5 Accepted 1ms 256.0 KiB
#6 Accepted 2ms 2.25 MiB
#7 Runtime Error 46ms 2.977 MiB
#8 Runtime Error 52ms 3.281 MiB
#9 Runtime Error 59ms 3.934 MiB
#10 Runtime Error 65ms 4.086 MiB

信息

递交者
类型
递交
题目
P1977 推销员
语言
C++
递交时间
2020-07-10 12:22:41
评测时间
2020-07-10 12:22:41
评测机
分数
60
总耗时
231ms
峰值内存
4.086 MiB