Problem workoutplan
User innerspace777
Submission Time 2024-06-12 13:26:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

workoutplan.cpp: In function ‘int32_t main()’:
workoutplan.cpp:24:6: error: ‘class std::deque<long long int>’ has no member named ‘push’
24 | ds.push(C[i]);
| ^~~~
workoutplan.cpp:29:14: error: ‘class std::deque<long long int>’ has no member named ‘top’
29 | ans += ds.top();
| ^~~
workoutplan.cpp:30:7: error: ‘class std::deque<long long int>’ has no member named ‘pop’
30 | ds.pop();
| ^~~