Problem | scalars |
---|---|
User | alettuce |
Submission Time | 2025-06-28 19:49:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
scalars.cpp: In function ‘int main()’:
scalars.cpp:23:36: error: too few arguments to function ‘bool cmp_ascending(long long int, long long int)’
23 | sort(v1, v1 + n, cmp_ascending());
| ^
scalars.cpp:5:6: note: declared here
5 | bool cmp_ascending(long long a, long long b) {
| ^~~~~~~~~~~~~
scalars.cpp:24:37: error: too few arguments to function ‘bool cmp_descending(long long int, long long int)’
24 | sort(v2, v2 + n, cmp_descending());
| ^
scalars.cpp:9:6: note: declared here
9 | bool cmp_descending(long long a, long long b) {
| ^~~~~~~~~~~~~~