Problem | flamethrower |
---|---|
User | hackerman123 |
Submission Time | 2023-08-08 09:57:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flamethrower.cpp:2:7: error: expected nested-name-specifier before ‘namepace’
2 | using namepace std;
| ^~~~~~~~
flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:5:2: error: ‘queue’ was not declared in this scope; did you mean ‘std::queue’?
5 | queue<long long> q;
| ^~~~~
| std::queue
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from flamethrower.cpp:1:
/usr/include/c++/9/bits/stl_queue.h:96:11: note: ‘std::queue’ declared here
96 | class queue
| ^~~~~
flamethrower.cpp:5:8: error: expected primary-expression before ‘long’
5 | queue<long long> q;
| ^~~~
flamethrower.cpp:8:20: error: redeclaration of ‘long long int maximum’
8 | long long length, maximum; cin >> length >> maximum;
| ^~~~~~~
fl