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_27851921_15563.cpp:34:2: error: stray '#' in program
 }#include <iostream>
  ^
0_0_27851921_15563.cpp:34:3: error: 'include' does not name a type
 }#include <iostream>
   ^
0_0_27851921_15563.cpp:40:11: error: redefinition of 'const int N'
 const int N = 1000000 + 5;
           ^
0_0_27851921_15563.cpp:7:11: note: 'const int N' previously defined here
 const int N = 1000000 + 5;
           ^
0_0_27851921_15563.cpp:42:5: error: redefinition of 'int n'
 int n, m, a[N];
     ^
0_0_27851921_15563.cpp:9:5: note: 'int n' previously declared here
 int n, m, a[N];
     ^
0_0_27851921_15563.cpp:42:8: error: redefinition of 'int m'
 int n, m, a[N];
        ^
0_0_27851921_15563.cpp:9:8: note: 'int m' previously declared here
 int n, m, a[N];
        ^
0_0_27851921_15563.cpp:42:14: error: redefinition of 'int a [1000005]'
 int n, m, a[N];
              ^
0_0_27851921_15563.cpp:9:11: note: 'int a [1000005]' previously declared here
 int n, m, a[N];
           ^
0_0_27851921_15563.cpp: In function 'void quickSort(int*, int, int)':
0_0_27851921_15563.cpp:44:6: error: redefinition of 'void quickSort(int*, int, int)'
 void quickSort(int a[], int l, int r) {
      ^
0_0_27851921_15563.cpp:11:6: note: 'void quickSort(int*, int, int)' previously defined here
 void quickSort(int a[], int l, int r) {
      ^
0_0_27851921_15563.cpp: In function 'int main()':
0_0_27851921_15563.cpp:58:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_27851921_15563.cpp:25: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-11-29 18:29:53, Gzip enabled