QINGCHUAN ZHANG, 张晴川's submission of Substring Query | CodeChef