二分
文章平均质量分 73
空待待啊
这个作者很懒,什么都没留下…
展开
-
鸡哥的 AI 驾驶 (Gym - 103186H)
鸡哥觉得这个任务非常简单,于是他将这个任务交给了你,为了给鸡哥一些时间来推送这个补J,你需要告诉鸡哥的时间是t:满足在[0, t]时间内没有发生事故,在(t,t + 1]的时间内发生了某起(或多起)事故。当型号相同的两辆车位于同一-坐标时,不会发生事故,但不同型号的两辆车位于同一坐标时,就会发生车祸。鸡哥最近正在制作一款游戏《狭道赛车手X》,他为游戏中的车辆编写了一个自动驾驶AI,使得游戏中的车辆的车辆能够在将要撞到别的车辆时自动绕过对方,且不需要减速。在一行输出一个整数,表示你需要告诉鸡哥的时间 t。原创 2022-11-19 16:08:20 · 769 阅读 · 0 评论 -
Aggressive cows POJ - 2456(二分)
题Farmer John has built a new long barn, with N (2 <= N <= 100,000) stalls. The stalls are located along a straight line at positions x1,…,xN (0 <= xi <= 1,000,000,000).His C (2 <= C <= N) cows don’t like this barn layout and become aggr原创 2021-12-09 21:54:07 · 257 阅读 · 0 评论 -
POJ-3258 River Hopscotch (二分)
DescriptionEvery year the cows hold an event featuring a peculiar version of hopscotch that involves carefully jumping from rock to rock in a river. The excitement takes place on a long, straight river with a rock at the start and another rock at the end,原创 2021-10-20 20:01:33 · 85 阅读 · 0 评论