Anna.cpp: In function 'void Anna(int, int, std::vector<int>, std::vector<int>)':
Anna.cpp:62: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers
62 |
|
Anna.cpp:61:29: error: expected '}' at end of input
61 | if (valid) break;
| ^
Anna.cpp:14:52: note: to match this '{'
14 | for (int offset = 0; offset < 9; offset++) {
| ^
Anna.cpp:61:29: error: expected '}' at end of input
61 | if (valid) break;
| ^
Anna.cpp:10:59: note: to match this '{'
10 | void Anna(int N, int K, vector<int> R, vector<int> C) {
| ^
Bruno.cpp: In function 'std::vector<int> Bruno(int, std::vector<int>)':
Bruno.cpp:8:13: warning: variable 'anchor' set but not used [-Wunused-but-set-variable]
8 | int anchor = 0;
| ^~~~~~
Bruno.cpp:30:60: warning: 'dy' may be used uninitialized in this function [-Wmaybe-uninitialized]
30 | int ni = (i / 3 + 2 - dx) % 3, nj = (i % 3 + 2 - dy) % 3;
| ~~~~~~~~~~~^~~~~
Bruno.cpp:30:33: warning: 'dx' may be used uninitialized in this function [-Wmaybe-uninitialized]
30 | int ni = (i / 3 + 2 - dx) % 3, nj = (i % 3 + 2 - dy) % 3;
| ~~~~~~~~~~~^~~~~