Accepted
foo.cc: In function 'int main()': foo.cc:11:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 11 | else if(s1 == "Rock" && s2 == "Scissors" || | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ foo.cc:13:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 13 | s1 == "Paper" && s2 == "Rock") cout << "P1" << endl; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1077 猜拳游戏(1)
- 语言
- C++
- 递交时间
- 2022-07-14 12:41:27
- 评测时间
- 2022-07-14 12:41:27
- 评测机
- 分数
- 100
- 总耗时
- 3ms
- 峰值内存
- 384.0 KiB