Problem oranges2
User chenweilian
Submission Time 2023-07-16 18:56:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

oranges2.cpp: In function ‘int findMaxWeightedEdge(int, int)’:
oranges2.cpp:135:4: error: ‘assert’ was not declared in this scope
135 | assert(v >= MAXN || i >= LOGN);
| ^~~~~~
oranges2.cpp:12:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
11 | #include <climits>
+++ |+#include <cassert>
12 | using namespace std;