问题 D: First Blood
时间限制: 1Sec 内存限制: 128MB 提交: 17 解决: 7
We always call the first kill in the Dota First Blood, and in the ACM-ICPC, we also call the first AC First Blood.
We all like First Blood, but it need some luck and care.
NOW, COME ON!!! TYPE ON YOUR KEYBOARD!!!! Maybe the First Blood is YOURS!!!
There are multiple test cases.
Each test case begins with a line of two integers n and m (0<n<=1000,0<m<2147483648).
The next line consists of n integers a ... a[n], and for i between 1 and n, 0<a[i]<2147483648.
A test case with n=0 terminates the input and this test case is not to be processed.
Your task is to count how many numbers in those n integers that not smaller than m, and output the number.
10 4 1 2 3 4 5 6 7 8 9 0 0