记录详情

Accepted

foo.c: In function 'main':
foo.c:25:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   25 |     if (xStart - xEnd == 1 && yStart - yEnd == -2 || xStart - xEnd == -1 && yStart - yEnd == -2)
      |         ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.c:31:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   31 |     if (xStart - xEnd == -2 && yStart - yEnd == -1 || xStart - xEnd == -2 && yStart - yEnd == 1)
      |         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.c:37:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   37 |     if (xStart - xEnd == -1 && yStart - yEnd == 2 || xStart - xEnd == 1 && yStart - yEnd == 2)
      |         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.c:43:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   43 |     if (xStart - xEnd == 2 && yStart - yEnd == 1 || xStart - xEnd == 2 && yStart - yEnd == -1)
      |         ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 284.0 KiB
#2 Accepted 2ms 284.0 KiB
#3 Accepted 1ms 284.0 KiB
#4 Accepted 1ms 284.0 KiB
#5 Accepted 2ms 284.0 KiB
#6 Accepted 1ms 284.0 KiB
#7 Accepted 1ms 284.0 KiB
#8 Accepted 1ms 284.0 KiB
#9 Accepted 1ms 284.0 KiB
#10 Accepted 1ms 284.0 KiB

信息

递交者
类型
递交
题目
P1480 F. Poor horse leg
比赛
2023年新生赛(第二场)
语言
C
递交时间
2023-08-25 11:57:14
评测时间
2023-08-25 11:57:14
评测机
分数
100
总耗时
18ms
峰值内存
284.0 KiB