#abc209a. A - Counting

A - Counting

Score : 100100 points

问题描述

有多少个整数不小于 AA 且不大于 BB

以上为通义千问 qwen-max 翻译,仅供参考。

Problem Statement

How many integers not less than AA and not more than BB are there?

Constraints

  • 1A1001 \leq A \leq 100
  • 1B1001 \leq B \leq 100
  • AA and BB are integers.

Input

Input is given from Standard Input in the following format:

AA BB

Output

Print the number of integers not less than AA and not more than BB.

Sample Input 1

2 4

Sample Output 1

3

We have three integers not less than 22 and not more than 44: 22, 33, 44, so we should print 33.

Sample Input 2

10 100

Sample Output 2

91

Sample Input 3

3 2

Sample Output 3

0

We have no integers not less than 33 and not more than 22, so we should print 00.

update @ 2024/3/10 09:22:20

}