Wrong Answer

foo.cc: In function 'int main()':
foo.cc:22:19: warning: statement has no effect [-Wunused-value]
   22 |       b[i - 1][j] == 'R';
      |       ~~~~~~~~~~~~^~~~~~
foo.cc:24:19: warning: statement has no effect [-Wunused-value]
   24 |       b[i + 1][j] == 'R';
      |       ~~~~~~~~~~~~^~~~~~
foo.cc:26:19: warning: statement has no effect [-Wunused-value]
   26 |       b[i][j - 1] == 'R';
      |       ~~~~~~~~~~~~^~~~~~
foo.cc:28:19: warning: statement has no effect [-Wunused-value]
   28 |       b[i][j + 1] == 'R';
      |       ~~~~~~~~~~~~^~~~~~
foo.cc:32:19: warning: statement has no effect [-Wunused-value]
   32 |       b[i - 1][j] == 'S';
      |       ~~~~~~~~~~~~^~~~~~
foo.cc:34:19: warning: statement has no effect [-Wunused-value]
   34 |       b[i + 1][j] == 'S';
      |       ~~~~~~~~~~~~^~~~~~
foo.cc:36:19: warning: statement has no effect [-Wunused-value]
   36 |       b[i][j - 1] == 'S';
      |       ~~~~~~~~~~~~^~~~~~
foo.cc:38:19: warning: statement has no effect [-Wunused-value]
   38 |       b[i][j + 1] == 'S';
      |       ~~~~~~~~~~~~^~~~~~
foo.cc:42:19: warning: statement has no effect [-Wunused-value]
   42 |       b[i - 1][j] == 'P';
      |       ~~~~~~~~~~~~^~~~~~
foo.cc:44:19: warning: statement has no effect [-Wunused-value]
   44 |       b[i + 1][j] == 'P';
      |       ~~~~~~~~~~~~^~~~~~
foo.cc:46:19: warning: statement has no effect [-Wunused-value]
   46 |       b[i][j - 1] == 'P';
      |       ~~~~~~~~~~~~^~~~~~
foo.cc:48:19: warning: statement has no effect [-Wunused-value]
   48 |       b[i][j + 1] == 'P';
      |       ~~~~~~~~~~~~^~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read S, expect R. 2ms 384.0 KiB
#2 Wrong Answer Read R, expect S. 2ms 384.0 KiB
#3 Wrong Answer Read P, expect R. 5ms 384.0 KiB
#4 Wrong Answer Read R, expect P. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1097 猜拳游戏(3)
语言
C++
递交时间
2022-07-17 01:43:45
评测时间
2022-07-17 01:43:45
评测机
分数
0
总耗时
13ms
峰值内存
384.0 KiB