记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:20:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   20 |         if (x0 - x1 == 1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == -2 || x0 - x1 == 1 && y0 - y1 == -2 || x0 - x1 == 2 && y0 - y1 == 1 || x0 - x1 == -2 && y0 - y1 == 1 || x0 - x1 == 2 && y0 - y1 == -1 || x0 - x1 == -2 && y0 - y1 == -1)
      |             ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
foo.cc:20:92: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   20 |         if (x0 - x1 == 1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == -2 || x0 - x1 == 1 && y0 - y1 == -2 || x0 - x1 == 2 && y0 - y1 == 1 || x0 - x1 == -2 && y0 - y1 == 1 || x0 - x1 == 2 && y0 - y1 == -1 || x0 - x1 == -2 && y0 - y1 == -1)
      |                                                                              ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
foo.cc:20:125: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   20 |         if (x0 - x1 == 1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == -2 || x0 - x1 == 1 && y0 - y1 == -2 || x0 - x1 == 2 && y0 - y1 == 1 || x0 - x1 == -2 && y0 - y1 == 1 || x0 - x1 == 2 && y0 - y1 == -1 || x0 - x1 == -2 && y0 - y1 == -1)
      |                                                                                                                ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
foo.cc:20:158: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   20 |         if (x0 - x1 == 1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == -2 || x0 - x1 == 1 && y0 - y1 == -2 || x0 - x1 == 2 && y0 - y1 == 1 || x0 - x1 == -2 && y0 - y1 == 1 || x0 - x1 == 2 && y0 - y1 == -1 || x0 - x1 == -2 && y0 - y1 == -1)
      |                                                                                                                                                 ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
foo.cc:20:191: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   20 |         if (x0 - x1 == 1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == -2 || x0 - x1 == 1 && y0 - y1 == -2 || x0 - x1 == 2 && y0 - y1 == 1 || x0 - x1 == -2 && y0 - y1 == 1 || x0 - x1 == 2 && y0 - y1 == -1 || x0 - x1 == -2 && y0 - y1 == -1)
      |                                                                                                                                                                                 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
foo.cc:20:223: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   20 |         if (x0 - x1 == 1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == -2 || x0 - x1 == 1 && y0 - y1 == -2 || x0 - x1 == 2 && y0 - y1 == 1 || x0 - x1 == -2 && y0 - y1 == 1 || x0 - x1 == 2 && y0 - y1 == -1 || x0 - x1 == -2 && y0 - y1 == -1)
      |                                                                                                                                                                                                                  ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
foo.cc:20:257: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   20 |         if (x0 - x1 == 1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == -2 || x0 - x1 == 1 && y0 - y1 == -2 || x0 - x1 == 2 && y0 - y1 == 1 || x0 - x1 == -2 && y0 - y1 == 1 || x0 - x1 == 2 && y0 - y1 == -1 || x0 - x1 == -2 && y0 - y1 == -1)
      |                                                                                                                                                                                                                                                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 332.0 KiB
#2 Accepted 3ms 284.0 KiB
#3 Accepted 4ms 412.0 KiB
#4 Accepted 3ms 412.0 KiB
#5 Wrong Answer Read YES, expect NO. 4ms 412.0 KiB
#6 Accepted 3ms 412.0 KiB
#7 Accepted 3ms 412.0 KiB
#8 Wrong Answer Read YES, expect NO. 3ms 412.0 KiB
#9 Accepted 3ms 368.0 KiB
#10 Accepted 5ms 284.0 KiB

信息

递交者
类型
递交
题目
P1480 F. Poor horse leg
语言
C++
递交时间
2023-09-21 11:46:17
评测时间
2023-09-21 11:46:17
评测机
分数
80
总耗时
40ms
峰值内存
412.0 KiB