Problem | scalars |
---|---|
User | Kenniene |
Submission Time | 2024-02-16 16:58:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
scalars.cpp: In function ‘int main()’:
scalars.cpp:15:13: error: request for member ‘begin’ in ‘v1’, which is of non-class type ‘int [n]’
15 | sort(v1.begin(), v1.end(), greater<int>());
| ^~~~~
scalars.cpp:15:25: error: request for member ‘end’ in ‘v1’, which is of non-class type ‘int [n]’
15 | sort(v1.begin(), v1.end(), greater<int>());
| ^~~
scalars.cpp:16:13: error: request for member ‘begin’ in ‘v2’, which is of non-class type ‘int [n]’
16 | sort(v2.begin(), v2.end(), greater<int>());
| ^~~~~
scalars.cpp:16:25: error: request for member ‘end’ in ‘v2’, which is of non-class type ‘int [n]’
16 | sort(v2.begin(), v2.end(), greater<int>());
| ^~~