[Làm Quen OJ]. Bài 14. Number in range

View as PDF

Submit solution

Points: 1.00 (partial)
Time limit: 1.0s
Memory limit: 256M
Input: stdin
Output: stdout

Problem source:
28Tech
Problem type
Allowed languages
C, C++, Java, Kotlin, Pascal, PyPy, Python, Scratch

Cho 2 số ab, nhiệm vụ của bạn là in ra số lượng số nguyên tính từ a đến b.


Đầu vào

Dòng duy nhất chứa 2 số nguyên ab.


Ràng buộc

1<=a<=b<=10^12


Đầu ra

In ra kết quả của bài toán


Ví dụ

Input 01
14 19
Output 01
6

Comments

Please read the guidelines before commenting.



  • 2
    nguyen_luong_an  commented on Dec. 18, 2024, 1:48 p.m.

    <3


  • -8
    Try_hardxx  commented on Oct. 27, 2024, 3:49 a.m.

    This comment is hidden due to too much negative feedback. Show it anyway.