Problem 0405
User PlayVoltz
Submission Time 2023-09-05 16:08:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

0405.cpp:6:17: error: ‘INT_MAX’ was not declared in this scope
6 | const int MAX = INT_MAX;
| ^~~~~~~
0405.cpp:3:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <vector>
+++ |+#include <climits>
3 |
0405.cpp:8:14: error: size of array ‘isPrime’ is not an integral constant-expression
8 | bool isPrime[MAX];
| ^~~