Retired

Jump to zero (Subtask 3) (retired)

Description
Loading description...
Mathematics
Algorithms
Dynamic Programming
Number Theory
Performance
  • Please sign in or sign up to leave a comment.
  • ejini战神 Avatar
    • Missing imports in sample tests

    • The input range is not sparse enough, so solutions from subtask 2 can easily pass the tests

    • TLEojxSunlight Avatar
      • I tried to run the sample tests without import anything (and suprisingly it passed) :D. So what is the difference when you imports?
      • If you use dp top-down, you can see the difference =))) I discovered this bug while I brute test this problem :D.