Accepted
/in/foo.cc: In function 'bool dfs(int)': /in/foo.cc:15:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 15 | for (int j = 0; j < edges[i].size(); j++) { | ~~^~~~~~~~~~~~~~~~~ /in/foo.cc: In function 'int main()': /in/foo.cc:43:27: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses] 43 | if (arr[i][j] == 1 ^ (((i + j) & 1) == ((x + y) & 1))) | ~~~~~~~~~~^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1718 兔兔和蛋蛋
- 语言
- C++
- 递交时间
- 2025-06-14 15:58:17
- 评测时间
- 2025-06-14 15:58:17
- 评测机
- 分数
- 100
- 总耗时
- 60ms
- 峰值内存
- 840.0 KiB