/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:41:54: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
   printf("%d\n", max(ans[i-1]+sum[i],ans[i]+tot[i]*2));
                                                      ^
# 状态 耗时 内存占用
#1 Accepted 1ms 212.0 KiB
#2 Accepted 1ms 228.0 KiB
#3 Accepted 2ms 2.215 MiB
#4 Accepted 1ms 228.0 KiB
#5 Accepted 2ms 348.0 KiB
#6 Accepted 2ms 232.0 KiB
#7 Accepted 25ms 3.5 MiB
#8 Accepted 30ms 3.273 MiB
#9 Accepted 33ms 3.676 MiB
#10 Accepted 37ms 4.082 MiB

信息

递交者
类型
递交
题目
P1977 推销员
语言
C++
递交时间
2020-07-11 18:10:13
评测时间
2020-07-11 18:10:13
评测机
分数
100
总耗时
139ms
峰值内存
4.082 MiB