Wrong Answer

foo.cc: In function 'int main()':
foo.cc:230:16: warning: statement has no effect [-Wunused-value]
  230 |       b[i-1][j]=='R';
      |       ~~~~~~~~~^~~~~
foo.cc:232:16: warning: statement has no effect [-Wunused-value]
  232 |       b[i+1][j]=='R';
      |       ~~~~~~~~~^~~~~
foo.cc:234:16: warning: statement has no effect [-Wunused-value]
  234 |       b[i][j-1]=='R';
      |       ~~~~~~~~~^~~~~
foo.cc:236:16: warning: statement has no effect [-Wunused-value]
  236 |       b[i][j+1]=='R';
      |       ~~~~~~~~~^~~~~
foo.cc:241:16: warning: statement has no effect [-Wunused-value]
  241 |       b[i-1][j]=='S';
      |       ~~~~~~~~~^~~~~
foo.cc:243:16: warning: statement has no effect [-Wunused-value]
  243 |       b[i+1][j]=='S';
      |       ~~~~~~~~~^~~~~
foo.cc:245:16: warning: statement has no effect [-Wunused-value]
  245 |       b[i][j-1]=='S';
      |       ~~~~~~~~~^~~~~
foo.cc:247:16: warning: statement has no effect [-Wunused-value]
  247 |       b[i][j+1]=='S';
      |       ~~~~~~~~~^~~~~
foo.cc:252:16: warning: statement has no effect [-Wunused-value]
  252 |       b[i-1][j]=='P';
      |       ~~~~~~~~~^~~~~
foo.cc:254:16: warning: statement has no effect [-Wunused-value]
  254 |       b[i+1][j]=='P';
      |       ~~~~~~~~~^~~~~
foo.cc:256:16: warning: statement has no effect [-Wunused-value]
  256 |       b[i][j-1]=='P';
      |       ~~~~~~~~~^~~~~
foo.cc:258:16: warning: statement has no effect [-Wunused-value]
  258 |       b[i][j+1]=='P';
      |       ~~~~~~~~~^~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read S, expect R. 1ms 384.0 KiB
#2 Wrong Answer Read R, expect S. 1ms 384.0 KiB
#3 Wrong Answer Read P, expect R. 1ms 384.0 KiB
#4 Wrong Answer Read R, expect P. 2ms 384.0 KiB

信息

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