| Problem | leftright |
|---|---|
| User | wtnetlegend |
| Submission Time | 2025-03-09 19:39:59 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
leftright.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
leftright.cpp: In function ‘int main()’:
leftright.cpp:12:2: error: ‘cin’ was not declared in this scope
12 | cin >> Q;
| ^~~
leftright.cpp:14:2: error: ‘queue’ was not declared in this scope
14 | queue <int> q1;
| ^~~~~
leftright.cpp:14:9: error: expected primary-expression before ‘int’
14 | queue <int> q1;
| ^~~
leftright.cpp:15:9: error: expected primary-expression before ‘int’
15 | queue <int> q2;
| ^~~
leftright.cpp:23:5: error: ‘q2’ was not declared in this scope
23 | q2.push(n);
| ^~
leftright.cpp:24:11: error: ‘q1’ was not declared in this scope
24 | while(q1.size()<q2.size()){
| ^~
leftright.cpp:30:5: error: ‘q1’ was not declared in this scope
30 | q1.push(n);
|