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_17799016_24311.cpp: In function 'void fun(int, int)':
0_0_17799016_24311.cpp:35:16: error: 'a' was not declared in this scope
    printf("%d",a[i][0]);
                ^
0_0_17799016_24311.cpp: At global scope:
0_0_17799016_24311.cpp:97:15: error: redefinition of 'int arr [10][10]'
 int arr[10][10];
               ^
0_0_17799016_24311.cpp:3:5: note: 'int arr [10][10]' previously declared here
 int arr[10][10];
     ^
0_0_17799016_24311.cpp:98:5: error: redefinition of 'int flag'
 int flag=0;
     ^
0_0_17799016_24311.cpp:4:5: note: 'int flag' previously defined here
 int flag=0;
     ^
0_0_17799016_24311.cpp: In function 'bool check(int, int, int)':
0_0_17799016_24311.cpp:99:6: error: redefinition of 'bool check(int, int, int)'
 bool check(int num, int x, int y)
      ^
0_0_17799016_24311.cpp:5:6: note: 'bool check(int, int, int)' previously defined here
 bool check(int num, int x, int y)
      ^
0_0_17799016_24311.cpp: In function 'void fun(int, int)':
0_0_17799016_24311.cpp:118:6: error: redefinition of 'void fun(int, int)'
 void fun(int x, int y)
      ^
0_0_17799016_24311.cpp:24:6: note: 'void fun(int, int)' previously defined here
 void fun(int x, int y)
      ^
0_0_17799016_24311.cpp:129:16: error: 'a' was not declared in this scope
    printf("%d",a[i][0]);
                ^
0_0_17799016_24311.cpp: In function 'int main()':
0_0_17799016_24311.cpp:161:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_17799016_24311.cpp:67:5: note: 'int main()' previously defined here
 int main()
     ^


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-10-05 14:05:30, Gzip enabled