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


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-30 00:40:59, Gzip enabled