| Problem | tiles |
|---|---|
| User | justin271828 |
| Submission Time | 2026-04-04 12:42:07 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
tiles.cpp: In function ‘void calc(int)’:
tiles.cpp:21:12: error: a function-definition is not allowed here before ‘{’ token
21 | int main() {
| ^
tiles.cpp:29:54: error: expected ‘}’ at end of input
29 | arr[i] = (arr[i] & ((int)(s[j][i] == '.') << j));}}
| ^
tiles.cpp:18:32: note: to match this ‘{’
18 | for (int k = 0; k < 8; k++) {
| ^
tiles.cpp:29:54: error: expected ‘}’ at end of input
29 | arr[i] = (arr[i] & ((int)(s[j][i] == '.') << j));}}
| ^
tiles.cpp:17:31: note: to match this ‘{’
17 | for (int j = 0; j < 8; j++) {
| ^
tiles.cpp:29:54: error: expected ‘}’ at end of input
29 | arr[i] = (arr[i] & ((int)(s[j][i] == '.') << j));}}
|