Problem treepruning2
User chenweilian
Submission Time 2025-04-20 11:22:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

treepruning2.cpp: In function ‘int main()’:
treepruning2.cpp:140:2: error: ‘assert’ was not declared in this scope
140 | assert(cnt == 2);
| ^~~~~~
treepruning2.cpp:13:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
12 | #include <iomanip>
+++ |+#include <cassert>
13 | using namespace std;