#P1348. Couple number
Couple number
Description
For an integer , if there exist two non-negative integers such that , then is called a Couple number.
Given , find how many Couple numbers are in the range .
Input Format
The input contains one line with two integers .
Output Format
Output one line with a single integer representing the answer.
1 10
7
Hint
Constraints
For all test points, it is guaranteed that , .
Translated by ChatGPT 5
京公网安备 11011102002149号