CF1000C Covered Points Count
题目描述
**题目大意:**
给你n个区间,求被这些区间覆盖层数为$k(k
输入格式
第一行一个整数,$n$,$n
输出格式
$n$个整数,即每个被覆盖层数对应的点的个数
感谢@守望 提供翻译
说明/提示
The picture describing the first example:

Points with coordinates $ [0, 4, 5, 6, 7, 8] $ are covered by one segment, points $ [1, 2] $ are covered by two segments and point $ [3] $ is covered by three segments.
The picture describing the second example:

Points $ [1, 4, 5, 6, 7] $ are covered by one segment, points $ [2, 3] $ are covered by two segments and there are no points covered by three segments.