Problem | jumps |
---|---|
User | justin271828 |
Submission Time | 2023-06-27 23:13:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
jumps.cpp: In function ‘int findneari(int, int)’:
jumps.cpp:13:24: error: ‘i’ was not declared in this scope
13 | if (dup_H[k] > dup_H[i] and dup_H[k] <= dup_H[y]) {
| ^
jumps.cpp:20:24: error: ‘i’ was not declared in this scope
20 | if (dup_H[k] > dup_H[i] and dup_H[k] <= dup_H[y]) {
| ^
jumps.cpp: In function ‘int minimum_jumps(int, int, int, int)’:
jumps.cpp:38:7: error: ‘i’ was not declared in this scope
38 | for (i = A; i <= B; i++) {
| ^
jumps.cpp:39:8: error: ‘j’ was not declared in this scope
39 | for (j = C; j <= D; j++) {
| ^