Problem sort
User glog
Submission Time 2023-05-29 22:26:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sort.cpp: In function ‘int main()’:
sort.cpp:82:30: error: invalid conversion from ‘std::string*’ {aka ‘std::__cxx11::basic_string<char>*’} to ‘int’ [-fpermissive]
82 | sortLargeNumbers(arr, arr+n);
| ~~~^~
| |
| std::string* {aka std::__cxx11::basic_string<char>*}
sort.cpp:61:41: note: initializing argument 2 of ‘void sortLargeNumbers(std::string*, int)’
61 | void sortLargeNumbers(string arr[], int n)
| ~~~~^