kiên nguyễn's submission of Rich Substrings | CodeChef