Problem | sort |
---|---|
User | om2024 |
Submission Time | 2024-06-19 14:37:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sort.cpp: In function ‘int main()’:
sort.cpp:15:24: error: too few arguments to function ‘bool comp(std::string, std::string)’
15 | sort(arr, arr+n, comp());
| ^
sort.cpp:4:6: note: declared here
4 | bool comp(string a, string b) {
| ^~~~