Problem | exponentiate |
---|---|
User | Hengweezy |
Submission Time | 2024-02-02 10:57:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:16:17: error: ‘INT_MAX’ was not declared in this scope
16 | int max = pow(INT_MAX, 1/b);
| ^~~~~~~
exponentiate.cpp:3:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <iostream>
+++ |+#include <climits>
3 | using namespace std;