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_18379960_11320.cpp:56:2: error: stray '#' in program
 }#include<iostream>
  ^
0_0_18379960_11320.cpp:56:3: error: 'include' does not name a type
 }#include<iostream>
   ^
0_0_18379960_11320.cpp:60:16: error: redefinition of 'int course [301]'
 int course[maxn];
                ^
0_0_18379960_11320.cpp:5:5: note: 'int course [301]' previously declared here
 int course[maxn];
     ^
0_0_18379960_11320.cpp:61:14: error: redefinition of 'int used [301]'
 int used[maxn];
              ^
0_0_18379960_11320.cpp:6:5: note: 'int used [301]' previously declared here
 int used[maxn];
     ^
0_0_18379960_11320.cpp:62:5: error: redefinition of 'int P'
 int P,N;
     ^
0_0_18379960_11320.cpp:7:5: note: 'int P' previously declared here
 int P,N;
     ^
0_0_18379960_11320.cpp:62:7: error: redefinition of 'int N'
 int P,N;
       ^
0_0_18379960_11320.cpp:7:7: note: 'int N' previously declared here
 int P,N;
       ^
0_0_18379960_11320.cpp: In function 'bool find(int)':
0_0_18379960_11320.cpp:64:6: error: redefinition of 'bool find(int)'
 bool find(int i)
      ^
0_0_18379960_11320.cpp:9:6: note: 'bool find(int)' previously defined here
 bool find(int i)
      ^
0_0_18379960_11320.cpp: In function 'int main()':
0_0_18379960_11320.cpp:81:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_18379960_11320.cpp:26: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-06 05:56:38, Gzip enabled