Koichi Namekata's submission of Sum Queries | CodeChef