In Clash of Code, does the fastest mode also look at the length of your code and rank you according to length?

In Clash of code, I frequently finish faster than other players, but since their code was more shorter, they get a higher ranking. I really don’t understand the system.

everything is explained on this page: https://www.codingame.com/multiplayer/clashofcode