Wrong Answer
/in/foo.cc: In function 'int main()': /in/foo.cc:6:17: warning: unused variable 'mid' [-Wunused-variable] int n, a[101], mid, all, ans; ^~~ /in/foo.cc:19:19: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized] printf("%d", ans); ^ /in/foo.cc:10:27: warning: 'all' may be used uninitialized in this function [-Wmaybe-uninitialized] scanf("%d", &a[i]), all += a[i]; ~~~~^~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1123 均分纸牌
- 语言
- C++
- 递交时间
- 2024-01-22 16:21:09
- 评测时间
- 2024-01-22 16:21:09
- 评测机
- 分数
- 0
- 总耗时
- 9ms
- 峰值内存
- 416.0 KiB