Đếm #1

View as PDF

Submit solution

Points: 100.00 (partial)
Time limit: 1.0s
Memory limit: 102M
Input: stdin
Output: stdout

Author:
Problem type

T rất thích những số lớn. Đặc biệt, T thích những số lớn hơn hoặc bằng ~X~. Hãy giúp bạn T đếm những số lớn hơn hoặc bằng ~X~ trong dãy số gồm ~N~ số nguyên nhé.

Input
  • Dòng 1 nhập 2 số nguyên ~N~, ~X~(~1 \leq N \leq 10^5, |X| \leq 10^9~).
  • Dòng 2 nhập ~N~ số nguyên ~A_i~ (~1 \leq i \leq N, |A_i| \leq 10^9~).
Output
  • In ra kết quả theo yêu cầu đề bài.
Example

Input

5 3
2 1 3 5 4

Output

3

Comments

Please read the guidelines before commenting.


There are no comments at the moment.