/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:40: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 220.0 KiB
#2 Accepted 1ms 216.0 KiB
#3 Accepted 1ms 232.0 KiB
#4 Accepted 2ms 2.211 MiB
#5 Accepted 2ms 356.0 KiB
#6 Accepted 2ms 344.0 KiB
#7 Accepted 29ms 2.871 MiB
#8 Accepted 31ms 3.273 MiB
#9 Accepted 34ms 3.676 MiB
#10 Accepted 38ms 4.078 MiB

信息

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