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_21363258_15354.cpp:82:7: error: conflicting declaration 'int a []'
 int a[]={13,67,34,123,4,56,7,9,12,23};
       ^
0_0_21363258_15354.cpp:25:14: note: previous declaration as 'unsigned int a [10000010]'
 unsigned int a[10000010];
              ^
0_0_21363258_15354.cpp:83:1: error: expected unqualified-id before '?' token
 ??? nth_element(a,a+5,a+10);
 ^
0_0_21363258_15354.cpp:84:1: error: expected unqualified-id before '?' token
 ??? for(int i=0;i<10;i++)
 ^
0_0_21363258_15354.cpp:84:17: error: 'i' does not name a type
 ??? for(int i=0;i<10;i++)
                 ^
0_0_21363258_15354.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-11-26 08:19:49, Gzip enabled