Wrong Answer
foo.cc: In function 'int main()': foo.cc:8:19: warning: unused variable 'ans' [-Wunused-variable] 8 | int flag, ans, ans1, ans2, sum1 = 0,sum2 = 0; | ^~~ foo.cc:62:25: warning: 'ans1' may be used uninitialized [-Wmaybe-uninitialized] 62 | cout << ans1 << endl; | ^~~~ foo.cc:8:24: note: 'ans1' was declared here 8 | int flag, ans, ans1, ans2, sum1 = 0,sum2 = 0; | ^~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1509 Problem 2B. 矩阵染色
- 语言
- C++
- 递交时间
- 2023-10-26 16:06:57
- 评测时间
- 2023-10-26 16:06:57
- 评测机
- 分数
- 85
- 总耗时
- 82ms
- 峰值内存
- 412.0 KiB