Tiancheng Lou's submission of Safe Partition | CodeChef