用差分数组进行解题
第一个数加一,因为每一个时间段为一个人,最后一个数减一,因为加到最后需要要停止
代码链接
https://blog.csdn.net/CaprYang/article/details/89386403
题目链接
http://acm.hi-54.com/problem.php?pid=2106
十一届省赛 B、治安管理
最新推荐文章于 2022-03-09 17:56:27 发布
用差分数组进行解题
第一个数加一,因为每一个时间段为一个人,最后一个数减一,因为加到最后需要要停止
代码链接
https://blog.csdn.net/CaprYang/article/details/89386403
题目链接
http://acm.hi-54.com/problem.php?pid=2106