记录详情

Accepted

foo.cc: In function 'int bfs(int, int)':
foo.cc:25:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   25 |                         if(d[x][y]=-1&&x>=0&&x<n&&y>=0&&y<m&&a[x][y]==1)
      |                            ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:30:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   30 |                         if(d[x][y]=-1&&x>=0&&x<n&&y>=0&&y<m&&a[x][y]!=1)
      |                            ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 8ms 412.0 KiB
#2 Accepted 15ms 412.0 KiB
#3 Accepted 6ms 412.0 KiB
#4 Accepted 11ms 460.0 KiB
#5 Accepted 7ms 480.0 KiB
#6 Accepted 13ms 508.0 KiB
#7 Accepted 7ms 412.0 KiB
#8 Accepted 13ms 364.0 KiB
#9 Accepted 12ms 504.0 KiB
#10 Accepted 16ms 504.0 KiB

信息

递交者
类型
递交
题目
P1455 3-18 怎么就发不好球
比赛
2023年暑期算法队集训赛1
语言
C++
递交时间
2023-07-07 00:47:50
评测时间
2023-07-07 00:47:50
评测机
分数
100
总耗时
113ms
峰值内存
508.0 KiB