Rosetta Problems

数字在排序数组中出现的次数

https://www.acwing.com/problem/content/63