Simulare - IIOT 2021-22 Round IV | L-paths

This was the problem page during the contest. Access the current page here.