Wrong Answer

foo.cc: In function ‘int times(std::string, std::string)’:
foo.cc:7:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
    7 |         if(fis==check[0]&&turn==check[1]||fis==check[1]&&turn==check[2]||fis==check[3]&&turn==check[4]||fis==check[4]&&turn==check[5])
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
foo.cc:7:87: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
    7 |         if(fis==check[0]&&turn==check[1]||fis==check[1]&&turn==check[2]||fis==check[3]&&turn==check[4]||fis==check[4]&&turn==check[5])
      |                                                                          ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
foo.cc:7:118: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
    7 |         if(fis==check[0]&&turn==check[1]||fis==check[1]&&turn==check[2]||fis==check[3]&&turn==check[4]||fis==check[4]&&turn==check[5])
      |                                                                                                         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer On line 1: Read 0x414e00, expect 55. 2ms 504.0 KiB
#2 Wrong Answer On line 1: Read 0x414e00, expect 2. 2ms 500.0 KiB
#3 Wrong Answer On line 1: Read 0x414e00, expect 2. 3ms 504.0 KiB
#4 Wrong Answer On line 1: Read 0x414e00, expect 1. 3ms 500.0 KiB

信息

递交者
类型
递交
题目
P2558 单位转换3级T2 2023.12
语言
C++
递交时间
2025-07-22 22:52:23
评测时间
2025-07-22 22:52:23
评测机
分数
0
总耗时
11ms
峰值内存
504.0 KiB