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_19041543_14132.cpp: In function 'void bfs()':
0_0_19041543_14132.cpp:42:68: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
       (lens[1][newx][newy]!=-1 && lens[1][newx][newy]<lens[0][tmp.x]x[tmp.y))
                                                                    ^
0_0_19041543_14132.cpp:42:69: error: expected ')' before 'x'
       (lens[1][newx][newy]!=-1 && lens[1][newx][newy]<lens[0][tmp.x]x[tmp.y))
                                                                     ^
0_0_19041543_14132.cpp:43:15: error: expected ')' before ';' token
       continue;
               ^
0_0_19041543_14132.cpp:54:68: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
       (lens[0][newx][newy]!=-1 && lens[0][newx][newy]<lens[1][tmp.x]x[tmp.y))
                                                                    ^
0_0_19041543_14132.cpp:54:69: error: expected ')' before 'x'
       (lens[0][newx][newy]!=-1 && lens[0][newx][newy]<lens[1][tmp.x]x[tmp.y))
                                                                     ^
0_0_19041543_14132.cpp:55:15: error: expected ')' before ';' token
       continue;
               ^


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-07-03 13:13:29, Gzip enabled