solved the one with lowest AC rate!!! take more than two hours to get
accepted!