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];
^
|