Chef and Digit Jumps

can any one tell me jump can be made reverse also…?
Eg:
0123456754360123457
Ans 5 correct or not.?

1 Like

You are not allowed to ask questions related to contests

Got WA. So, i’ve a doubt whether jump can be made only in frwd direction or it can be made reverse also…

1 Like

@kcahdog, It is not discussing strategy, it is clarification of problem statement. Don’t go and close immediate, There is thread that it is pointed that judege giving correct answer for other than 5 so there is absolutely some thing wrong in test cases available at judge or the reverse jump is not possible to more than one indecies. refer just reevaluate chef and digit jump - general - CodeChef Discuss

4 Likes