Problem | sort |
---|---|
User | PrunJuice |
Submission Time | 2024-06-19 10:24:13 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sort.cpp: In function ‘int main()’:
sort.cpp:6:39: error: could not convert ‘N’ from ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to ‘long unsigned int’
6 | unsigned long long int NumberList[N];
| ^
sort.cpp:6:39: error: size of array ‘NumberList’ has non-integral type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’}
sort.cpp:7:43: error: no match for ‘operator<’ (operand types are ‘long long unsigned int’ and ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’})
7 | for (unsigned long long int i = 0; i < N; i++){
| ~ ^ ~
| | |
| | std::string {aka std::__cxx11::basic_string<char>}
| long long unsigned int
In file included from /usr/include/c++/9/regex:62,