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_15505995_23105.cpp:45:3: error: stray '#' in program
 } #include<stdio.h>
   ^
0_0_15505995_23105.cpp:45:4: error: 'include' does not name a type
 } #include<stdio.h>
    ^
0_0_15505995_23105.cpp:50:5: error: redefinition of 'int ans'
 int ans=0;
     ^
0_0_15505995_23105.cpp:6:5: note: 'int ans' previously defined here
 int ans=0;
     ^
0_0_15505995_23105.cpp:51:14: error: redefinition of 'int a [1000005]'
 int a[1000005],b[1000005];
              ^
0_0_15505995_23105.cpp:7:5: note: 'int a [1000005]' previously declared here
 int a[1000005],b[1000005];
     ^
0_0_15505995_23105.cpp:51:25: error: redefinition of 'int b [1000005]'
 int a[1000005],b[1000005];
                         ^
0_0_15505995_23105.cpp:7:16: note: 'int b [1000005]' previously declared here
 int a[1000005],b[1000005];
                ^
0_0_15505995_23105.cpp: In function 'void merge_sort(int*, int, int, int*)':
0_0_15505995_23105.cpp:52:6: error: redefinition of 'void merge_sort(int*, int, int, int*)'
 void merge_sort(int *A,int x,int y,int *T)
      ^
0_0_15505995_23105.cpp:8:6: note: 'void merge_sort(int*, int, int, int*)' previously defined here
 void merge_sort(int *A,int x,int y,int *T)
      ^
0_0_15505995_23105.cpp: In function 'int main()':
0_0_15505995_23105.cpp:74:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_15505995_23105.cpp:30: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-12-02 03:28:58, Gzip enabled