-->
当前位置:首页 > 题库

PROGRAMMING:Counting problem

Luz5年前 (2021-05-10)题库343
Andy is very boring today. He plays a number game by himself. The game is very simple, that is, how many times a number appears in the range from 1 to a certain number, such as 1 to 10, and the number 1 appears twice.
###Input format:
Input a total of 1 line, including 2 integers n, x, separated by a space..
###Output format:
Output a total of 1 line, including an integer, indicating the number of times x appears.
###Input example:
```in
11 1
```
###Output example:
```out
four
```







answer:If there is no answer, please comment