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

Compile Error

explosives.cpp: In function ‘void runtc()’:
explosives.cpp:94:25: error: ‘j’ was not declared in this scope
94 | if (arr[j]>brr[j]) break;
| ^
explosives.cpp:95:12: error: cannot convert ‘const std::pair<int, int>’ to ‘int’ in initialization
95 | int j=(*s.begin());
| ~^~~~~~~~~~~
| |
| const std::pair<int, int>