| Problem | trollingbribritt |
|---|---|
| User | sussygoose |
| Submission Time | 2025-11-13 20:15:29 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
trollingbribritt.cpp: In function ‘int main()’:
trollingbribritt.cpp:7:16: error: conflicting declaration ‘std::queue<int> q’
7 | queue<int> q;
| ^
trollingbribritt.cpp:5:9: note: previous declaration as ‘int q’
5 | int q; cin >> q;
| ^
trollingbribritt.cpp:12:15: error: request for member ‘push’ in ‘q’, which is of non-class type ‘int’
12 | q.push(n)
| ^~~~
trollingbribritt.cpp:14:20: error: request for member ‘empty’ in ‘q’, which is of non-class type ‘int’
14 | if (!q.empty()) {
| ^~~~~
trollingbribritt.cpp:15:19: error: request for member ‘pop’ in ‘q’, which is of non-class type ‘int’
15 | q.pop();
| ^~~
trollingbribritt.cpp:19:31: error: ‘qu’ was not declared in this scope; did you mean ‘q’?
19 | queue<int> temp = qu;