0_0_38339922_26114.cpp: In function 'void solve()':
0_0_38339922_26114.cpp:21:12: error: missing template arguments before 'a'
vector a(tot, vector<int>(tot + 1));
^
0_0_38339922_26114.cpp:27:13: error: 'a' was not declared in this scope
a[id(i, j)][tot] = ((3 - x) % 3 + 3) % 3;
^
0_0_38339922_26114.cpp:43:17: error: 'a' was not declared in this scope
if (a[i][c] > a[t][c]) t = i;
^
0_0_38339922_26114.cpp:45:13: error: 'a' was not declared in this scope
if (a[t][c] == 0) continue;
^
0_0_38339922_26114.cpp:46:14: error: 'a' was not declared in this scope
swap(a[t], a[r]);
^
0_0_38339922_26114.cpp:49:21: error: 'lcm' was not declared in this scope
i64 l = lcm<i64>(a[t][c], a[i][c]);
^
0_0_38339922_26114.cpp:49:28: error: expected primary-expression before '>' token
i64 l = lcm<i64>(a[t][c], a[i][c]);
^
0_0_38339922_26114.cpp:52:46: error: 't2' was not declared in this scope
if (1LL * a[t][c] * a[r][c] < 0) t2 = -t2;
^
0_0_38339922_26114.cpp:54:53: error: 't2' was not declared in this scope
a[i][j] = (a[i][j] * t1 - a[r][j] * t2 + 3 * l) % 3;
^
0_0_38339922_26114.cpp:64:21: error: 'a' was not declared in this scope
for (c = 0; a[r][c] == 0; c++);
^
0_0_38339922_26114.cpp:66:17: error: 'a' was not declared in this scope
int x = a[r][tot];
^
|