Tiancheng Lou's submission of The Uncountable Ways | CodeChef