购票 MLE 提交(删去了快读):https://uoj.ac/submission/505627 TLE 提交(fread 快读):https://uoj.ac/submission/505626 洛谷 AC 记录:https://www.luogu.com.cn/record/57007790