Problem stickytape
User wrizz69
Submission Time 2024-12-16 15:39:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stickytape.cpp: In function ‘int32_t main()’:
stickytape.cpp:23:2: error: ‘duque’ was not declared in this scope
23 | duque<int> q1, q2;
| ^~~~~
stickytape.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
stickytape.cpp:23:8: note: in expansion of macro ‘int’
23 | duque<int> q1, q2;
| ^~~
stickytape.cpp:24:27: error: ‘q1’ was not declared in this scope; did you mean ‘y1’?
24 | for(int i = 0;i < m;i++) q1.pb(a[i]);
| ^~
| y1
stickytape.cpp:27:8: error: ‘q1’ was not declared in this scope; did you mean ‘y1’?
27 | while(q1.size() + q2.size() > 1) {
| ^~
| y1
stickytape.cpp:27:20: error: ‘q2’ was not declared in this scope
27 | while(q1.size() + q2.size() > 1) {
| ^~
stickytape.cpp:28:41: er