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_17267401_27733.cpp:127:2: error: stray '#' in program
     return 0;
  ^
0_0_17267401_27733.cpp:127:8: error: stray '#' in program
     return 0;
        ^
0_0_17267401_27733.cpp:127:14: error: stray '#' in program
     return 0;
              ^
0_0_17267401_27733.cpp:127:20: error: stray '#' in program
     return 0;
                    ^
0_0_17267401_27733.cpp: In function 'void dfs(int, int, int, int)':
0_0_17267401_27733.cpp:41:14: error: 'vis' was not declared in this scope
         if (!vis[R + 1][R + 2]) {
              ^
0_0_17267401_27733.cpp:51:14: error: 'vis' was not declared in this scope
         if (!vis[L - 1][L - 2]) {
              ^
0_0_17267401_27733.cpp:60:14: error: 'vis' was not declared in this scope
         if (!vis[L - 1][R + 1]) {
              ^
0_0_17267401_27733.cpp: In function 'bool judge2(int, int)':
0_0_17267401_27733.cpp:75:5: error: 'vis' was not declared in this scope
     vis[a][b] = true;
     ^
0_0_17267401_27733.cpp: In function 'int cal(int)':
0_0_17267401_27733.cpp:85:9: error: 'vis' was not declared in this scope
     clr(vis, 0);
         ^
0_0_17267401_27733.cpp:19:26: note: in definition of macro 'clr'
 #define clr(a, b) memset(a, b, sizeof(a))
                          ^
0_0_17267401_27733.cpp: In function 'int main()':
0_0_17267401_27733.cpp:127:3: error: lvalue required as unary '&' operand
     return 0;
   ^
0_0_17267401_27733.cpp:127:9: error: lvalue required as unary '&' operand
     return 0;
         ^
0_0_17267401_27733.cpp:127:15: error: lvalue required as unary '&' operand
     return 0;
               ^
0_0_17267401_27733.cpp:127:21: error: lvalue required as unary '&' operand
     return 0;
                     ^


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:40:27, Gzip enabled