Problem explosives
User username
Submission Time 2024-02-25 23:53:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

explosives.cpp: In function ‘void runtc()’:
explosives.cpp:37:4: error: expected initializer before ‘for’
37 | for (int j=i;j>=1;j--){
| ^~~
explosives.cpp:37:17: error: ‘j’ was not declared in this scope
37 | for (int j=i;j>=1;j--){
| ^
explosives.cpp:55:21: error: ‘s’ was not declared in this scope; did you mean ‘st’?
55 | while (!s.empty()){
| ^
| st