Problem | goofyrooks |
---|---|
User | Hytoh |
Submission Time | 2023-12-30 14:08:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
goofyrooks.cpp: In function ‘int main()’:
goofyrooks.cpp:8:25: error: ‘K’ was not declared in this scope
8 | for (int i = 0; i < K; i++) {
| ^
goofyrooks.cpp:11:9: error: ‘attackedRows’ was not declared in this scope; did you mean ‘attackedrow’?
11 | attackedRows.insert(x);
| ^~~~~~~~~~~~
| attackedrow
goofyrooks.cpp:12:9: error: ‘attackedColumns’ was not declared in this scope; did you mean ‘attackedcolumns’?
12 | attackedColumns.insert(y);
| ^~~~~~~~~~~~~~~
| attackedcolumns
goofyrooks.cpp:14:30: error: ‘attackedrows’ was not declared in this scope; did you mean ‘attackedrow’?
14 | int unattackedrows = n - attackedrows.size();
| ^~~~~~~~~~~~
| attackedrow
goofyrooks.cpp:17:13: error: ‘unattackedSquares’ was not declared in this scope; did you m