[Community Puzzle] Legendary Archer Octavius

https://www.codingame.com/training/hard/legendary-archer-octavius

Send your feedback or ask for help here!

Created by @UnicornP,validated by @The_ZimaBlue,@King_Coda and @EliteDaMyth.
If you have any issues, feel free to ping them.