hot4ice4's submission of Maximum Grid | CodeChef