werewolf.cpp: In member function 'void KRT::buildLift()':
werewolf.cpp:7:23: error: expected primary-expression before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:41:17: note: in expansion of macro 'FOR'
41 | FOR(u, 1, N) up[0][u] = parent[u];
| ^~~
werewolf.cpp:7:23: error: expected ':' before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:41:17: note: in expansion of macro 'FOR'
41 | FOR(u, 1, N) up[0][u] = parent[u];
| ^~~
werewolf.cpp:7:23: error: expected primary-expression before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:41:17: note: in expansion of macro 'FOR'
41 | FOR(u, 1, N) up[0][u] = parent[u];
| ^~~
werewolf.cpp:7:23: error: expected ')' before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:41:17: note: in expansion of macro 'FOR'
41 | FOR(u, 1, N) up[0][u] = parent[u];
| ^~~
werewolf.cpp:9:22: note: to match this '('
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^
werewolf.cpp:41:17: note: in expansion of macro 'FOR'
41 | FOR(u, 1, N) up[0][u] = parent[u];
| ^~~
werewolf.cpp:41:21: error: 'u' was not declared in this scope
41 | FOR(u, 1, N) up[0][u] = parent[u];
| ^
werewolf.cpp:7:51: note: in definition of macro 'FORU'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^
werewolf.cpp:41:17: note: in expansion of macro 'FOR'
41 | FOR(u, 1, N) up[0][u] = parent[u];
| ^~~
werewolf.cpp:7:56: error: '_b' was not declared in this scope; did you mean 'pb'?
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:41:17: note: in expansion of macro 'FOR'
41 | FOR(u, 1, N) up[0][u] = parent[u];
| ^~~
werewolf.cpp:7:23: error: expected primary-expression before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:42:17: note: in expansion of macro 'FOR'
42 | FOR(i, 1, LG - 1) FOR(u, 1, N) up[i][u] = up[i - 1][up[i - 1][u]];
| ^~~
werewolf.cpp:7:23: error: expected ':' before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:42:17: note: in expansion of macro 'FOR'
42 | FOR(i, 1, LG - 1) FOR(u, 1, N) up[i][u] = up[i - 1][up[i - 1][u]];
| ^~~
werewolf.cpp:7:23: error: expected primary-expression before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:42:17: note: in expansion of macro 'FOR'
42 | FOR(i, 1, LG - 1) FOR(u, 1, N) up[i][u] = up[i - 1][up[i - 1][u]];
| ^~~
werewolf.cpp:7:23: error: expected ')' before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:42:17: note: in expansion of macro 'FOR'
42 | FOR(i, 1, LG - 1) FOR(u, 1, N) up[i][u] = up[i - 1][up[i - 1][u]];
| ^~~
werewolf.cpp:9:22: note: to match this '('
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^
werewolf.cpp:42:17: note: in expansion of macro 'FOR'
42 | FOR(i, 1, LG - 1) FOR(u, 1, N) up[i][u] = up[i - 1][up[i - 1][u]];
| ^~~
werewolf.cpp:42:21: error: 'i' was not declared in this scope
42 | FOR(i, 1, LG - 1) FOR(u, 1, N) up[i][u] = up[i - 1][up[i - 1][u]];
| ^
werewolf.cpp:7:51: note: in definition of macro 'FORU'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^
werewolf.cpp:42:17: note: in expansion of macro 'FOR'
42 | FOR(i, 1, LG - 1) FOR(u, 1, N) up[i][u] = up[i - 1][up[i - 1][u]];
| ^~~
werewolf.cpp: In function 'KRT buildKRT(int, const std::vector<std::vector<int> >&, bool)':
werewolf.cpp:7:23: error: expected primary-expression before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:86:9: note: in expansion of macro 'FOR'
86 | FOR(i, L, R)
| ^~~
werewolf.cpp:7:23: error: expected ':' before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:86:9: note: in expansion of macro 'FOR'
86 | FOR(i, L, R)
| ^~~
werewolf.cpp:7:23: error: expected primary-expression before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:86:9: note: in expansion of macro 'FOR'
86 | FOR(i, L, R)
| ^~~
werewolf.cpp:7:23: error: expected ')' before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:86:9: note: in expansion of macro 'FOR'
86 | FOR(i, L, R)
| ^~~
werewolf.cpp:9:22: note: to match this '('
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^
werewolf.cpp:86:9: note: in expansion of macro 'FOR'
86 | FOR(i, L, R)
| ^~~
werewolf.cpp:86:13: error: 'i' was not declared in this scope
86 | FOR(i, L, R)
| ^
werewolf.cpp:7:51: note: in definition of macro 'FORU'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^
werewolf.cpp:86:9: note: in expansion of macro 'FOR'
86 | FOR(i, L, R)
| ^~~
werewolf.cpp:7:56: error: '_b' was not declared in this scope; did you mean 'pb'?
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:86:9: note: in expansion of macro 'FOR'
86 | FOR(i, L, R)
| ^~~
werewolf.cpp:7:23: error: expected primary-expression before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:112:9: note: in expansion of macro 'FOR'
112 | FOR(v, 1, N)
| ^~~
werewolf.cpp:7:23: error: expected ':' before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:112:9: note: in expansion of macro 'FOR'
112 | FOR(v, 1, N)
| ^~~
werewolf.cpp:7:23: error: expected primary-expression before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:112:9: note: in expansion of macro 'FOR'
112 | FOR(v, 1, N)
| ^~~
werewolf.cpp:7:23: error: expected ')' before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:112:9: note: in expansion of macro 'FOR'
112 | FOR(v, 1, N)
| ^~~
werewolf.cpp:9:22: note: to match this '('
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^
werewolf.cpp:112:9: note: in expansion of macro 'FOR'
112 | FOR(v, 1, N)
| ^~~
werewolf.cpp:112:13: error: 'v' was not declared in this scope
112 | FOR(v, 1, N)
| ^
werewolf.cpp:7:51: note: in definition of macro 'FORU'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^
werewolf.cpp:112:9: note: in expansion of macro 'FOR'
112 | FOR(v, 1, N)
| ^~~
werewolf.cpp: In function 'int lift(const KRT&, int, int, bool)':
werewolf.cpp:130:20: error: 'const struct KRT' has no member named 'LOG'; did you mean 'LG'?
130 | FOR(k, krt.LOG - 1, 0)
| ^~~
werewolf.cpp:9:25: note: in definition of macro 'FOR'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^
werewolf.cpp:7:23: error: expected primary-expression before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:130:9: note: in expansion of macro 'FOR'
130 | FOR(k, krt.LOG - 1, 0)
| ^~~
werewolf.cpp:7:23: error: expected ':' before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:130:9: note: in expansion of macro 'FOR'
130 | FOR(k, krt.LOG - 1, 0)
| ^~~
werewolf.cpp:7:23: error: expected primary-expression before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:130:9: note: in expansion of macro 'FOR'
130 | FOR(k, krt.LOG - 1, 0)
| ^~~
werewolf.cpp:7:23: error: expected ')' before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:130:9: note: in expansion of macro 'FOR'
130 | FOR(k, krt.LOG - 1, 0)
| ^~~
werewolf.cpp:9:22: note: to match this '('
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^
werewolf.cpp:130:9: note: in expansion of macro 'FOR'
130 | FOR(k, krt.LOG - 1, 0)
| ^~~
werewolf.cpp:130:13: error: 'k' was not declared in this scope
130 | FOR(k, krt.LOG - 1, 0)
| ^
werewolf.cpp:7:51: note: in definition of macro 'FORU'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^
werewolf.cpp:130:9: note: in expansion of macro 'FOR'
130 | FOR(k, krt.LOG - 1, 0)
| ^~~
werewolf.cpp:7:56: error: '_b' was not declared in this scope; did you mean 'pb'?
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:130:9: note: in expansion of macro 'FOR'
130 | FOR(k, krt.LOG - 1, 0)
| ^~~
werewolf.cpp: In function 'std::vector<int> check_validity(int, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
werewolf.cpp:151:85: error: increment of read-only reference 'v'
151 | if (mx <= N - 1) for (auto& vec : {X, Y, S, E, L, R}) for (auto& v : vec) ++v;
| ^
werewolf.cpp:7:23: error: expected primary-expression before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:154:9: note: in expansion of macro 'FOR'
154 | FOR(i, 0, M - 1)
| ^~~
werewolf.cpp:7:23: error: expected ':' before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:154:9: note: in expansion of macro 'FOR'
154 | FOR(i, 0, M - 1)
| ^~~
werewolf.cpp:7:23: error: expected primary-expression before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:154:9: note: in expansion of macro 'FOR'
154 | FOR(i, 0, M - 1)
| ^~~
werewolf.cpp:7:23: error: expected ')' before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:154:9: note: in expansion of macro 'FOR'
154 | FOR(i, 0, M - 1)
| ^~~
werewolf.cpp:9:22: note: to match this '('
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^
werewolf.cpp:154:9: note: in expansion of macro 'FOR'
154 | FOR(i, 0, M - 1)
| ^~~
werewolf.cpp:154:13: error: 'i' was not declared in this scope
154 | FOR(i, 0, M - 1)
| ^
werewolf.cpp:7:51: note: in definition of macro 'FORU'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^
werewolf.cpp:154:9: note: in expansion of macro 'FOR'
154 | FOR(i, 0, M - 1)
| ^~~
werewolf.cpp:7:56: error: '_b' was not declared in this scope; did you mean 'pb'?
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:154:9: note: in expansion of macro 'FOR'
154 | FOR(i, 0, M - 1)
| ^~~
werewolf.cpp:7:23: error: expected primary-expression before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:177:9: note: in expansion of macro 'FOR'
177 | FOR(i, 0, Q - 1)
| ^~~
werewolf.cpp:7:23: error: expected ':' before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:177:9: note: in expansion of macro 'FOR'
177 | FOR(i, 0, Q - 1)
| ^~~
werewolf.cpp:7:23: error: expected primary-expression before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:177:9: note: in expansion of macro 'FOR'
177 | FOR(i, 0, Q - 1)
| ^~~
werewolf.cpp:7:23: error: expected ')' before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:177:9: note: in expansion of macro 'FOR'
177 | FOR(i, 0, Q - 1)
| ^~~
werewolf.cpp:9:22: note: to match this '('
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^
werewolf.cpp:177:9: note: in expansion of macro 'FOR'
177 | FOR(i, 0, Q - 1)
| ^~~
werewolf.cpp:7:23: error: expected primary-expression before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:193:9: note: in expansion of macro 'FOR'
193 | FOR(t, 0, N)
| ^~~
werewolf.cpp:7:23: error: expected ':' before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:193:9: note: in expansion of macro 'FOR'
193 | FOR(t, 0, N)
| ^~~
werewolf.cpp:7:23: error: expected primary-expression before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:193:9: note: in expansion of macro 'FOR'
193 | FOR(t, 0, N)
| ^~~
werewolf.cpp:7:23: error: expected ')' before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:193:9: note: in expansion of macro 'FOR'
193 | FOR(t, 0, N)
| ^~~
werewolf.cpp:9:22: note: to match this '('
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^
werewolf.cpp:193:9: note: in expansion of macro 'FOR'
193 | FOR(t, 0, N)
| ^~~
werewolf.cpp:193:13: error: 't' was not declared in this scope
193 | FOR(t, 0, N)
| ^
werewolf.cpp:7:51: note: in definition of macro 'FORU'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^
werewolf.cpp:193:9: note: in expansion of macro 'FOR'
193 | FOR(t, 0, N)
| ^~~
werewolf.cpp:7:23: error: expected primary-expression before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:204:9: note: in expansion of macro 'FOR'
204 | FOR(i, 0, Q - 1) ans[i] = (ans[i] > 0);
| ^~~
werewolf.cpp:7:23: error: expected ':' before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:204:9: note: in expansion of macro 'FOR'
204 | FOR(i, 0, Q - 1) ans[i] = (ans[i] > 0);
| ^~~
werewolf.cpp:7:23: error: expected primary-expression before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:204:9: note: in expansion of macro 'FOR'
204 | FOR(i, 0, Q - 1) ans[i] = (ans[i] > 0);
| ^~~
werewolf.cpp:7:23: error: expected ')' before 'for'
7 | #define FORU(x, a, b) for (int x = (a), _b = (b); x <= _b; ++x)
| ^~~
werewolf.cpp:9:38: note: in expansion of macro 'FORU'
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^~~~
werewolf.cpp:204:9: note: in expansion of macro 'FOR'
204 | FOR(i, 0, Q - 1) ans[i] = (ans[i] > 0);
| ^~~
werewolf.cpp:9:22: note: to match this '('
9 | #define FOR(x, a, b) (((a) <= (b)) ? FORU(x, a, b) : FORD(x, a, b))
| ^
werewolf.cpp:204:9: note: in expansion of macro 'FOR'
204 | FOR(i, 0, Q - 1) ans[i] = (ans[i] > 0);
| ^~~