Solution to Number Of K from Jobdu

7 Sep

Question (in Chinese): http://ac.jobdu.com/problem.php?pid=1349 Question Name: Number Of K Question Description: count the occurrence of a number in a sorted integer arrray. Input: the input might contain multiple test cases. Inside each test case, the first line includes one integers … Read More »