Problem sort
User ToiletBrIcker
Submission Time 2024-06-19 11:47:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sort.cpp: In function ‘int main()’:
sort.cpp:17:35: error: expected ‘;’ before ‘for’
17 | std::sort(arr,arr+N,gangnumstyle)
| ^
| ;
18 | for (int i = 0;i < N;i++){
| ~~~
sort.cpp:18:17: error: ‘i’ was not declared in this scope
18 | for (int i = 0;i < N;i++){
| ^