Wrong Answer
/in/foo.cc: In function 'int main()':
/in/foo.cc:18:68: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int*' [-Wformat=]
18 | else printf("The minimum amount of money in the piggy-bank is %d.\n",dp[V]);
| ~^ ~~~~~
| | |
| int int*
| %n
信息
- 递交者
- 类型
- 递交
- 题目
- P2902 储蓄罐
- 语言
- C++
- 递交时间
- 2026-08-07 17:15:20
- 评测时间
- 2026-08-07 17:15:20
- 评测机
- 分数
- 10
- 总耗时
- 308ms
- 峰值内存
- 40.664 MiB