D. R2D2 and Droid Army time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output An army of n droids is lined up in one row. Each
呀吧 可算是a掉了 补得题,可算是懂得题目是啥意思了,就是最少包含范围,在给定的数左右 r的范围内都是可以的覆盖的, 对于派出的兵,能够防守一个范围的,问最少守几个数 后来发现这其实也是一个贪心算法的例题 Saruman the White must lead his army along a straight path from Isengard to Helm’