Problem deque
User PlayVoltz
Submission Time 2023-09-27 13:57:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

deque.cpp: In function ‘int main()’:
deque.cpp:20:33: error: expected ‘)’ before ‘;’ token
20 | cout<<max(vect[n-1]-deq(0, n-2);, vect[0]-deq(1, n-1));
| ~ ^
| )
deque.cpp:20:34: error: expected primary-expression before ‘,’ token
20 | cout<<max(vect[n-1]-deq(0, n-2);, vect[0]-deq(1, n-1));
| ^