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_18346517_28397.cpp:61:5: error: redefinition of 'int T'
 int T,n;
     ^
0_0_18346517_28397.cpp:6:5: note: 'int T' previously declared here
 int T,n;
     ^
0_0_18346517_28397.cpp:61:7: error: redefinition of 'int n'
 int T,n;
       ^
0_0_18346517_28397.cpp:6:7: note: 'int n' previously declared here
 int T,n;
       ^
0_0_18346517_28397.cpp:62:14: error: redefinition of 'int b [1005][2]'
 int b[1005][2];
              ^
0_0_18346517_28397.cpp:7:5: note: 'int b [1005][2]' previously declared here
 int b[1005][2];
     ^
0_0_18346517_28397.cpp: In function 'int gcd(int, int)':
0_0_18346517_28397.cpp:64:5: error: redefinition of 'int gcd(int, int)'
 int gcd(int x,int y)
     ^
0_0_18346517_28397.cpp:9:5: note: 'int gcd(int, int)' previously defined here
 int gcd(int x,int y)
     ^
0_0_18346517_28397.cpp: In function 'int main()':
0_0_18346517_28397.cpp:68:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_18346517_28397.cpp:13: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-06-26 18:56:18, Gzip enabled