Problem chokolit
User lHog
Submission Time 2024-08-02 15:14:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

chokolit.cpp: In function ‘int main()’:
chokolit.cpp:12:12: error: request for member ‘begin’ in ‘p’, which is of non-class type ‘long long int [n]’
12 | sort(p.begin(), p.end());
| ^~~~~
chokolit.cpp:12:23: error: request for member ‘end’ in ‘p’, which is of non-class type ‘long long int [n]’
12 | sort(p.begin(), p.end());
| ^~~
chokolit.cpp:13:12: error: request for member ‘begin’ in ‘x’, which is of non-class type ‘long long int [n]’
13 | sort(x.begin(), x.end());
| ^~~~~
chokolit.cpp:13:23: error: request for member ‘end’ in ‘x’, which is of non-class type ‘long long int [n]’
13 | sort(x.begin(), x.end());
| ^~~