Wrong Answer

foo.cc: In function 'int main()':
foo.cc:26:25: warning: array subscript has type 'char' [-Wchar-subscripts]
   26 |         A += a[ac[i % na]][bc[i % nb]];
      |                ~~~~~~~~~^
foo.cc:26:37: warning: array subscript has type 'char' [-Wchar-subscripts]
   26 |         A += a[ac[i % na]][bc[i % nb]];
      |                            ~~~~~~~~~^
foo.cc:27:25: warning: array subscript has type 'char' [-Wchar-subscripts]
   27 |         B += a[bc[i % nb]][ac[i % na]];
      |                ~~~~~~~~~^
foo.cc:27:37: warning: array subscript has type 'char' [-Wchar-subscripts]
   27 |         B += a[bc[i % nb]][ac[i % na]];
      |                            ~~~~~~~~~^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Wrong Answer Read T, expect B. 2ms 256.0 KiB
#3 Wrong Answer Read T, expect A. 1ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1090 猜拳游戏(2)
语言
C++
递交时间
2022-08-16 17:28:57
评测时间
2022-08-16 17:28:57
评测机
分数
50
总耗时
9ms
峰值内存
256.0 KiB