Problem | stickytape |
---|---|
User | wrizz69 |
Submission Time | 2024-12-16 15:39:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
stickytape.cpp: In function ‘int32_t main()’:
stickytape.cpp:20:17: error: expected ‘;’ before ‘}’ token
20 | cin >> a[i]
| ^
| ;
21 | }
| ~
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) {
| ^~