Accepted
foo.cc: In function ‘int SPFA(int)’: foo.cc:29:92: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 29 | if (map[i][j] == 1 && (!(x & (1 << (j - 1))))) y += 1 << j - 1; | ~~^~~ foo.cc:30:90: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 30 | if (map[i][j] == -1 && (x & (1 << (j - 1)))) y -= 1 << j - 1; | ~~^~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1026 毒药?解药?
- 语言
- C++
- 递交时间
- 2025-02-11 10:59:23
- 评测时间
- 2025-02-11 10:59:23
- 评测机
- 分数
- 100
- 总耗时
- 37ms
- 峰值内存
- 764.0 KiB