Gym 101149I I - It's the Police
摘要:
http://codeforces.com/gym/101149/problem/I 考虑下面这个例子 4 3 1 2 1 3 1 4 应该是选 0 0 1 1这样是最优的,我们不选1号,因为如果选1号作为非法分子点,那么2、3、4也不能有警察了,这不行。 那么究竟选呢? 很明显的一个道理是,选出儿 阅读全文
posted @ 2016-11-06 23:21 stupid_one 阅读(497) 评论(0) 推荐(0) 编辑