Problem sort
User Teohzijia
Submission Time 2026-07-17 12:04:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sort.cpp: In function ‘int main()’:
sort.cpp:16:5: error: ‘x’ was not declared in this scope
16 | if(x!=N-1){
| ^
sort.cpp: At global scope:
sort.cpp:21:1: error: expected declaration before ‘}’ token
21 | }
| ^