Andrey's submission of Xortest Path | CodeChef