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_21863667_12897.cpp:82:7: error: conflicting declaration 'int a []'
 int a[]={13,67,34,123,4,56,7,9,12,23};
       ^
0_0_21863667_12897.cpp:25:14: note: previous declaration as 'unsigned int a [10000010]'
 unsigned int a[10000010];
              ^
0_0_21863667_12897.cpp:83:16: error: expected constructor, destructor, or type conversion before '(' token
     nth_element(a,a+5,a+10);
                ^
0_0_21863667_12897.cpp:84:5: error: expected unqualified-id before 'for'
     for(int i=0;i<10;i++)
     ^
0_0_21863667_12897.cpp:84:17: error: 'i' does not name a type
     for(int i=0;i<10;i++)
                 ^
0_0_21863667_12897.cpp:84:22: error: 'i' does not name a type
     for(int i=0;i<10;i++)
                      ^


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 04:01:20, Gzip enabled