doll.cpp: In function 'void create_circuit(int, vi)':
doll.cpp:62:37: error: 'INT_MAX' was not declared in this scope
62 | exits[order[j] + pow] = INT_MAX;
| ^~~~~~~
doll.cpp:7:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
6 | #include "doll.h"
+++ |+#include <climits>
7 |
doll.cpp:68:33: error: 'INT_MAX' was not declared in this scope
68 | if (exits[j * 2] == INT_MAX && exits[j * 2 + 1] == INT_MAX) {
| ^~~~~~~
doll.cpp:68:33: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
doll.cpp:78:39: error: 'INT_MAX' was not declared in this scope
78 | for (int& idx : c) if (idx == INT_MAX) idx = -(nodes - 1);
| ^~~~~~~
doll.cpp:78:39: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
doll.cpp:79:39: error: 'INT_MAX' was not declared in this scope
79 | for (int& idx : x) if (idx == INT_MAX) idx = -(nodes - 1);
| ^~~~~~~
doll.cpp:79:39: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
doll.cpp:80:39: error: 'INT_MAX' was not declared in this scope
80 | for (int& idx : y) if (idx == INT_MAX) idx = -(nodes - 1);
| ^~~~~~~
doll.cpp:80:39: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?