Problem | potatosalad |
---|---|
User | natalyatan |
Submission Time | 2024-08-05 14:24:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
potatosalad.cpp: In function ‘int main()’:
potatosalad.cpp:8:17: error: expected ‘;’ before ‘<’ token
8 | for (int x=0, x<N; x++) {
| ^
| ;
potatosalad.cpp:8:17: error: expected primary-expression before ‘<’ token
potatosalad.cpp:11:15: error: ‘arr_size’ was not declared in this scope
11 | sort(arr,arr+arr_size, greater<int<(1));
| ^~~~~~~~
potatosalad.cpp:11:33: error: ‘int’ is not a template
11 | sort(arr,arr+arr_size, greater<int<(1));
| ^~~
potatosalad.cpp:11:33: error: template argument 1 is invalid