Problem cuberoot
User oolimry
Submission Time 2023-11-16 22:03:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:15:3: error: ‘assert’ was not declared in this scope
15 | assert(x*x*x == arr[i]);
| ^~~~~~
cuberoot.cpp:3:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
2 | #include <cmath>
+++ |+#include <cassert>
3 | using namespace std;