摘要: Cashier Employment POJ - 1275 A supermarket in Tehran is open 24 hours a day every day and needs a number of cashiers to fit its need. The supermarket 阅读全文
posted @ 2019-07-16 12:32 yccdu 阅读(350) 评论(0) 推荐(0) 编辑
摘要: The Captain HYSBZ - 4152 给定平面上的n个点,定义(x1,y1)到(x2,y2)的费用为min(|x1-x2|,|y1-y2|),求从1号点走到n号点的最小费用。 Input 第一行包含一个正整数n(2<=n<=200000),表示点数。 接下来n行,每行包含两个整数x[i] 阅读全文
posted @ 2019-07-16 07:44 yccdu 阅读(220) 评论(0) 推荐(0) 编辑