Problem | rollercoaster |
---|---|
User | god |
Submission Time | 2025-06-20 13:59:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
rollercoaster.cpp: In function ‘int32_t main()’:
rollercoaster.cpp:20:41: error: expected ‘]’ before ‘)’ token
20 | if(!(array[0] >= array[1] >= array[q-1) sort(array, array+q, greater<int>());
| ^
| ]
rollercoaster.cpp:20:42: error: expected ‘)’ before ‘sort’
20 | if(!(array[0] >= array[1] >= array[q-1) sort(array, array+q, greater<int>());
| ~ ^~~~~
| )