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_18150065_29805.cpp:59:4: error: stray '#' in program
 }  #include<stdio.h>  
    ^
0_0_18150065_29805.cpp:59:5: error: 'include' does not name a type
 }  #include<stdio.h>  
     ^
0_0_18150065_29805.cpp:62:5: error: redefinition of 'int count'
 int count;  
     ^
0_0_18150065_29805.cpp:4:5: note: 'int count' previously declared here
 int count;  
     ^
0_0_18150065_29805.cpp: In function 'int find(int)':
0_0_18150065_29805.cpp:64:5: error: redefinition of 'int find(int)'
 int find(int x)  
     ^
0_0_18150065_29805.cpp:6:5: note: 'int find(int)' previously defined here
 int find(int x)  
     ^
0_0_18150065_29805.cpp: In function 'void merge(int, int)':
0_0_18150065_29805.cpp:78:6: error: redefinition of 'void merge(int, int)'
 void merge(int x,int y)  
      ^
0_0_18150065_29805.cpp:20:6: note: 'void merge(int, int)' previously defined here
 void merge(int x,int y)  
      ^
0_0_18150065_29805.cpp: In function 'long long int exp(int)':
0_0_18150065_29805.cpp:89:11: error: redefinition of 'long long int exp(int)'
 long long exp(int n){  
           ^
0_0_18150065_29805.cpp:31:11: note: 'long long int exp(int)' previously defined here
 long long exp(int n){  
           ^
0_0_18150065_29805.cpp: In function 'int main()':
0_0_18150065_29805.cpp:101:5: error: redefinition of 'int main()'
 int main()  
     ^
0_0_18150065_29805.cpp:43: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-09-30 00:24:39, Gzip enabled