Problem potatosalad
User fanqie
Submission Time 2024-08-05 14:07:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatosalad.cpp: In function ‘int32_t main()’:
potatosalad.cpp:11:33: error: expected primary-expression before ‘)’ token
11 | }sort (arr, arr+N, greater<int>);
| ^
potatosalad.cpp:13:24: error: expected ‘)’ before ‘;’ token
13 | for (int i=0; i<N; i++; N>1){
| ~ ^
| )
potatosalad.cpp:13:29: error: expected ‘;’ before ‘)’ token
13 | for (int i=0; i<N; i++; N>1){
| ^
| ;