Hi guys, I liked 2134E - Энергетические коробки, so I made this visualizer to help others understand the idea behind the solving process.
The first row represent jumps required.
The second row represent current condition.
The third row represent original/answer condition.

This example picture uses the test case input [4 2 1 2 1]
If you're interested you can use your own input.
The program is not really beautiful, I'm sorry for that, the next program I make hopefully will be better.
The user is also responsible to input correctly, I'm sorry for that too.
Without further ado, you can try it here:
github.io
If you're interested how it's written or want to customize it:
github source code
If you have other question/suggestion comment below.







