Problem staircase
User Daddy
Submission Time 2023-12-02 13:21:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

staircase.cpp: In function ‘int main()’:
staircase.cpp:11:9: error: request for member ‘begin’ in ‘a’, which is of non-class type ‘int [n]’
11 | sort(a.begin(),a.end());
| ^~~~~
staircase.cpp:11:19: error: request for member ‘end’ in ‘a’, which is of non-class type ‘int [n]’
11 | sort(a.begin(),a.end());
| ^~~