Python #1
Contest Problems
Problem Tasks
# | Date | State |
---|
Not Contest
# | Date | State |
---|
D. Kvadrat sonlar
Time limit : 1000 ms
Memory limit : 128 mb
Sizga ikkita son berilgan. Shu ikkita son oralig'ida nechta kvadrat son borligini hisoblang.
Kiruvchi ma’lumotlar
Birinchi qatorda 2 ta natural son $n(1 \le a \le b \le 10^9)$.
Chiquvchi ma’lumotlar
Yagona qatorda masala yechimini chiqaring.
Input |
---|
1 5 |
Output |
2 |
Input |
---|
5 26 |
Output |
3 |
Input |
---|
30 31 |
Output |
0 |