F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_38964039_9823.cpp: In function 'void bfs()':
0_0_38964039_9823.cpp:19:42: error: expected primary-expression before '=' token
   19 |                         int x1=x+d[i][0];=,y1=y+d[i][1];=
      |                                          ^
0_0_38964039_9823.cpp:19:43: error: expected primary-expression before ',' token
   19 |                         int x1=x+d[i][0];=,y1=y+d[i][1];=
      |                                           ^
0_0_38964039_9823.cpp:19:44: error: 'y1' was not declared in this scope; did you mean 'x1'?
   19 |                         int x1=x+d[i][0];=,y1=y+d[i][1];=
      |                                            ^~
      |                                            x1
0_0_38964039_9823.cpp:19:57: error: expected primary-expression before '=' token
   19 |                         int x1=x+d[i][0];=,y1=y+d[i][1];=
      |                                                         ^
0_0_38964039_9823.cpp:20:25: error: expected primary-expression before 'if'
   20 |                         if(x1>=0&&x1<=n-1&&y1>=0&&y1<=n-1&&dis[x1][y1]>dis[x][y]+a[x1][y1]){
      |                         ^~


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-06-26 17:59:12, Gzip enabled