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_29415845_13046.cpp: In function 'void quickSort(int, int)':
0_0_29415845_13046.cpp:18:26: error: invalid conversion from 'int*' to 'int' [-fpermissive]
     quickSort(arr,l,low-1);
                          ^
0_0_29415845_13046.cpp:18:26: error: too many arguments to function 'void quickSort(int, int)'
0_0_29415845_13046.cpp:7:6: note: declared here
 void quickSort(int l, int r){
      ^
0_0_29415845_13046.cpp:19:26: error: invalid conversion from 'int*' to 'int' [-fpermissive]
     quickSort(arr,low+1,r);
                          ^
0_0_29415845_13046.cpp:19:26: error: too many arguments to function 'void quickSort(int, int)'
0_0_29415845_13046.cpp:7:6: note: declared here
 void quickSort(int l, int r){
      ^
0_0_29415845_13046.cpp: In function 'int main()':
0_0_29415845_13046.cpp:29:28: error: invalid conversion from 'int*' to 'int' [-fpermissive]
         quickSort(arr,1,sum);
                            ^
0_0_29415845_13046.cpp:29:28: error: too many arguments to function 'void quickSort(int, int)'
0_0_29415845_13046.cpp:7:6: note: declared here
 void quickSort(int l, int r){
      ^


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-07-03 16:44:46, Gzip enabled