Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:40: warning: overflow in conversion from 'long long int' to 'int' changes value from '1000000000000000000' to '-1486618624' [-Woverflow]
   14 |         for(int i=1;i<=sumv;i++) dp[i]=N;
      |                                        ^
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 476.0 KiB
#2 Wrong Answer 1ms 476.0 KiB
#3 Wrong Answer 1ms 344.0 KiB
#4 Runtime Error 1ms 548.0 KiB
#5 Runtime Error 1ms 544.0 KiB
#6 Runtime Error 2ms 548.0 KiB
#7 Runtime Error 2ms 532.0 KiB
#8 Runtime Error 2ms 552.0 KiB
#9 Runtime Error 2ms 532.0 KiB
#10 Runtime Error 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P1449 采药
语言
C++
递交时间
2026-07-24 08:47:55
评测时间
2026-07-24 08:47:55
评测机
分数
0
总耗时
22ms
峰值内存
552.0 KiB