The idea of an inverted snake is interesting, but enough for 2 minutes.
Аlso the implementation of the restrictions does not comply with the rules.