Wentao Wang's submission of Rectangle Query | CodeChef