saegusa's submission of Subanagrams | CodeChef