3058 - I2P(I)2024_Hu_lab0 Scoreboard

Time

2024/09/02 18:30:00 2024/09/02 20:30:00

Clarification

# Problem Asker Description Reply Replier Reply Time For all team

# Problem Pass Rate (passed user / total user)
14391 Interval query

14391 - Interval query   

Description

Given two positive integer a, b.

Your task is to answer how many integer are there in the close interval [a, b]. Namely, the number of integer that is at least a and at most b.

Input

The first line contains two integer a, b (1 <= a <= b <= 100), seperated by a blank. 

Output

An integer in the first line, represent the answer to the problem.

Note that you do not need to print '\n' at the end of the output.

Sample Input  Download

Sample Output  Download

Tags




Discuss