Zhang Yide's submission of Rainbow Graph | CodeChef