Problem treepruning2
User chenweilian
Submission Time 2025-04-19 19:50:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

treepruning2.cpp: In function ‘int main()’:
treepruning2.cpp:86:2: error: ‘assert’ was not declared in this scope
86 | assert(n == m+1);
| ^~~~~~
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;