Wrong Answer
/in/foo.c: In function 'main':
/in/foo.c:29:32: warning: array subscript 2 is above array bounds of 'int[2]' [-Warray-bounds]
29 | if ((minmap[1] - minmap[2]) % 2 == 1) {
| ~~~~~~^~~
/in/foo.c:4:23: note: while referencing 'minmap'
4 | int n,i,max=0,minmap[2],count=0;
| ^~~~~~
/in/foo.c:28:15: warning: 'minmap' may be used uninitialized [-Wmaybe-uninitialized]
28 | minmap[1] += 1;
| ~~~~~~^~~
/in/foo.c:4:23: note: 'minmap' declared here
4 | int n,i,max=0,minmap[2],count=0;
| ^~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- 2 取最大数的博弈游戏
- 语言
- C
- 递交时间
- 2025-04-22 19:56:22
- 评测时间
- 2025-04-22 19:56:22
- 评测机
- 分数
- 0
- 总耗时
- 25ms
- 峰值内存
- 676.0 KiB