| Problem | urarareader |
|---|---|
| User | WanQi |
| Submission Time | 2026-07-12 22:16:39 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
urarareader.cpp: In function ‘int main()’:
urarareader.cpp:6:9: error: ‘N’ was not declared in this scope
6 | cin >> N;
| ^
urarareader.cpp:7:9: error: ‘K’ was not declared in this scope
7 | cin >> K;
| ^
urarareader.cpp:9:7: error: ‘i’ was not declared in this scope
9 | for (i=0; i<N; i++) {
| ^
urarareader.cpp:12:7: error: ‘i’ was not declared in this scope
12 | for (i=0; i<N; i++) {
| ^
urarareader.cpp:13:6: error: expected ‘(’ before ‘books’
13 | if books[i] = K {
| ^~~~~
| (
urarareader.cpp:15:5: error: ‘else’ without a previous ‘if’
15 | } else {
| ^~~~