摘要: http://acm.hdu.edu.cn/showproblem.php?pid=6581 一开始想了好几个假算法。但是启发了一下潘哥,假如时间知道的话就可以从头开始确定各个车的位置。那么直接 $O(log_2\frac{10^9}{10^{ 6}})$ 二分时间 $t$ ,然后 $O(n)$ 验 阅读全文
posted @ 2019-07-22 18:43 韵意 阅读(239) 评论(0) 推荐(0) 编辑
摘要: https://ac.nowcoder.com/acm/contest/882/F 潘哥的代码才卡过去了,自己写的都卡不过去,估计跟评测机有关。 cpp include using namespace std; typedef long long ll; const int maxn=30; int 阅读全文
posted @ 2019-07-22 00:02 韵意 阅读(243) 评论(0) 推荐(0) 编辑