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_38358874_1051.cpp: In function 'bool check(int, int, int)':
0_0_38358874_1051.cpp:15:18: error: 'm' was not declared in this scope
  if(x<0||y<0||x>=m||y>=n
                  ^
0_0_38358874_1051.cpp:15:24: error: 'n' was not declared in this scope
  if(x<0||y<0||x>=m||y>=n
                        ^
0_0_38358874_1051.cpp:16:3: error: expected ')' before 'g'
   g[x][y]!=) return 0;
   ^
0_0_38358874_1051.cpp: In function 'void change()':
0_0_38358874_1051.cpp:21:9: error: no match for 'operator[]' (operand types are 'std::pair<int, int>' and 'int')
   if(g[i[0]][i[1]]=='|') g[i[0]][i[1]]='-';
         ^
0_0_38358874_1051.cpp:21:15: error: no match for 'operator[]' (operand types are 'std::pair<int, int>' and 'int')
   if(g[i[0]][i[1]]=='|') g[i[0]][i[1]]='-';
               ^
0_0_38358874_1051.cpp:21:29: error: no match for 'operator[]' (operand types are 'std::pair<int, int>' and 'int')
   if(g[i[0]][i[1]]=='|') g[i[0]][i[1]]='-';
                             ^
0_0_38358874_1051.cpp:21:35: error: no match for 'operator[]' (operand types are 'std::pair<int, int>' and 'int')
   if(g[i[0]][i[1]]=='|') g[i[0]][i[1]]='-';
                                   ^
0_0_38358874_1051.cpp:22:11: error: no match for 'operator[]' (operand types are 'std::pair<int, int>' and 'int')
   else g[i[0]][i[1]]='|'; 
           ^
0_0_38358874_1051.cpp:22:17: error: no match for 'operator[]' (operand types are 'std::pair<int, int>' and 'int')
   else g[i[0]][i[1]]='|'; 
                 ^
0_0_38358874_1051.cpp: In function 'int main()':
0_0_38358874_1051.cpp:82:13: error: incompatible types in assignment of 'int' to 'int [30]'
   vis[x1,y1]=1;
             ^


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-11-26 22:06:24, Gzip enabled