Anton Golov's submission of K Path Query | CodeChef