Problem | jumps |
---|---|
User | YongXin |
Submission Time | 2023-06-27 22:49:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
jumps.cpp: In function ‘void init(int, std::vector<int>)’:
jumps.cpp:19:6: error: ‘i’ was not declared in this scope
19 | for(i=0;i<n;++i)m[i]=-1;
| ^
jumps.cpp: In function ‘int minimum_jumps(int, int, int, int)’:
jumps.cpp:23:6: error: ‘i’ was not declared in this scope
23 | for(i=A;i<=B;++i)for(j=C;j<=D;++j)r=min(r,f(i,j));
| ^
jumps.cpp:23:23: error: ‘j’ was not declared in this scope
23 | for(i=A;i<=B;++i)for(j=C;j<=D;++j)r=min(r,f(i,j));
| ^