Dinesh Goyal's submission of Hidden Colored Graph | CodeChef