Problem flamethrower
User hackerman123
Submission Time 2023-08-08 09:58:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:8:20: error: redeclaration of ‘long long int maximum’
8 | long long length, maximum; cin >> length >> maximum;
| ^~~~~~~
flamethrower.cpp:7:12: note: ‘long long int maximum’ previously declared here
7 | long long maximum = 0;
| ^~~~~~~
flamethrower.cpp:15:4: error: ‘popped’ was not declared in this scope; did you mean ‘popen’?
15 | popped = q.top();
| ^~~~~~
| popen
flamethrower.cpp:15:15: error: ‘class std::queue<long long int>’ has no member named ‘top’; did you mean ‘pop’?
15 | popped = q.top();
| ^~~
| pop