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_29345005_213.cpp: In function 'int PARTITION(int*, int, int)':
0_0_29345005_213.cpp:52:26: error: invalid types 'int*[std::ios_base&(std::ios_base&)]' for array subscript
        int temp = a[right];
                          ^
0_0_29345005_213.cpp:53:17: error: invalid conversion from 'std::ios_base& (*)(std::ios_base&)' to 'int' [-fpermissive]
         int i = left, j = right - 1;
                 ^
0_0_29345005_213.cpp:53:33: error: invalid conversion from 'std::ios_base& (*)(std::ios_base&)' to 'int' [-fpermissive]
         int i = left, j = right - 1;
                                 ^
0_0_29345005_213.cpp:69:16: error: invalid types 'int*[std::ios_base&(std::ios_base&)]' for array subscript
         a[right] = a[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-24 19:47:40, Gzip enabled