Problem explosives
User username
Submission Time 2024-02-26 00:01:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

explosives.cpp:152: error: unterminated argument list invoking macro "assert"
explosives.cpp: In function ‘void runtc()’:
explosives.cpp:69:6: error: ‘assert’ was not declared in this scope
69 | assert(brr[match[st.top()]]<(*(s.begin())).first;
| ^~~~~~
explosives.cpp:2:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
1 | #include <bits/stdc++.h>
+++ |+#include <cassert>
2 | using namespace std;
explosives.cpp:69:6: error: expected ‘}’ at end of input
69 | assert(brr[match[st.top()]]<(*(s.begin())).first;
| ^~~~~~
explosives.cpp:68:34: note: to match this ‘{’
68 | if (st.size()==c){
| ^
explosives.cpp:69:6: error: expected ‘}’ at end of input
69 | assert(brr[match[st.top()]]<(*(s.begin())).first;
| ^~~~~~
explosives.cpp:55:31: note: to