0_0_39697047_27589.cpp: In function 'void init()':
0_0_39697047_27589.cpp:4:9: error: 'ans' was not declared in this scope
4 | ans = inf;
| ^~~
0_0_39697047_27589.cpp:4:15: error: 'inf' was not declared in this scope; did you mean 'int'?
4 | ans = inf;
| ^~~
| int
0_0_39697047_27589.cpp:5:17: error: 'dp' was not declared in this scope
5 | memset (dp, 0x3f, sizeof dp);
| ^~
0_0_39697047_27589.cpp:5:9: error: 'memset' was not declared in this scope
5 | memset (dp, 0x3f, sizeof dp);
| ^~~~~~
0_0_39697047_27589.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
+++ |+#include <cstring>
1 |
0_0_39697047_27589.cpp:6:30: error: 'n' was not declared in this scope
6 | for (int i = 1; i <= n; i++) G[i].clear();
| ^
0_0_39697047_27589.cpp:6:38: error: 'G' was not declared in this scope
6 | for (int i = 1; i <= n; i++) G[i].clear();
| ^
0_0_39697047_27589.cpp:8:9: error: 'pw3' was not declared in this scope
8 | pw3[0] = 1;
| ^~~
0_0_39697047_27589.cpp:9:30: error: 'n' was not declared in this scope
9 | for (int i = 1; i <= n; i++)
| ^
0_0_39697047_27589.cpp:12:33: error: 'n' was not declared in this scope
12 | for (int i = 0; i < pw3[n]; i++)
| ^
0_0_39697047_27589.cpp:17:25: error: 'bit' was not declared in this scope
17 | bit[i][j] = x % 3;
| ^~~
|