Problem | eight |
---|---|
User | Hytoh |
Submission Time | 2025-01-27 16:34:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
eight.cpp: In function ‘int main()’:
eight.cpp:7:2: error: expected initializer before ‘for’
7 | for (int i = 0; i < n; i++) {
| ^~~
eight.cpp:7:18: error: ‘i’ was not declared in this scope
7 | for (int i = 0; i < n; i++) {
| ^
eight.cpp:12:5: error: ‘arr’ was not declared in this scope
12 | if (arr[i] == 8) {
| ^~~