shuffle.cpp: In function 'std::vector<int> solve(int, int, int, int, int)':
shuffle.cpp:16:12: error: 'n' was not declared in this scope
16 | s.resize(n);
| ^
shuffle.cpp:24:19: error: 'k' was not declared in this scope
24 | a[i][j] = i*k + j;
| ^
shuffle.cpp:35:15: error: 'k' was not declared in this scope
35 | ans[i*k + j] = b[i][j];
| ^
shuffle.cpp:45:25: error: 'k' was not declared in this scope
45 | a[i][j] = s[i*k + j];
| ^
shuffle.cpp:52:11: error: 'i' was not declared in this scope
52 | a[i][j] = ans[a[i][j]];
| ^
shuffle.cpp:58:20: error: 'i' was not declared in this scope
58 | sort(all(c[i]));
| ^
shuffle.cpp:5:16: note: in definition of macro 'all'
5 | #define all(x) x.begin(), x.end()
| ^