Accepted
/in/foo.cc: In function 'bool compare(int, std::string, std::string, std::string)':
/in/foo.cc:34:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
34 | if (a == add && b == sub || a == sub && b == add)
| ~~~~~~~~~^~~~~~~~~~~
/in/foo.cc: In function 'bool circulate(bool, std::string, std::string, std::string)':
/in/foo.cc:41:16: warning: control reaches end of non-void function [-Wreturn-type]
41 | string temp = a1;
| ^~
信息
- 递交者
- 类型
- 递交
- 题目
- P3466 字符串还原
- 语言
- C++
- 递交时间
- 2024-11-13 22:31:23
- 评测时间
- 2024-11-13 22:31:23
- 评测机
- 分数
- 100
- 总耗时
- 41ms
- 峰值内存
- 532.0 KiB