Wrong Answer
foo.cc: In function 'int abeatb(char, char)': foo.cc:5:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5 | return (a=='R'&&b=='S'||a=='S'&&b=='P'||a=='P'&&b=='R')?1:2; | ~~~~~~^~~~~~~~ foo.cc:5:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5 | return (a=='R'&&b=='S'||a=='S'&&b=='P'||a=='P'&&b=='R')?1:2; | ~~~~~~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1090 猜拳游戏(2)
- 语言
- C++
- 递交时间
- 2022-07-16 17:08:31
- 评测时间
- 2022-07-16 17:08:31
- 评测机
- 分数
- 50
- 总耗时
- 8ms
- 峰值内存
- 384.0 KiB