-->
当前位置:首页 > 题库

PROGRAMMING:Looking for automorphic numbers

Luz5年前 (2021-05-10)题库732
The so-called automorphic number (also called conformal number) refers to the natural number whose lower part of the square number is exactly the number itself. For example, $$25 ^ 2 = 625 $$, so 25 is automorphic( Note: 0 and 1 are also automorphic numbers.)
Please write a program to output all automorphic numbers within the specified range. If there is no automorphic number in the specified range, output none.
####Input format
Positive integers $$a $$and $$B $$and $$a / Leq B / Leq 10000$$
####Output format
If there is an automorphic number in $$[a, b] $, the automorphic number will be output in the order from small to large, and one automorphic number will be output in each line; If there is no automorphic number, output none.
####Input sample 1
```in
10 80
```
####Output sample 1
```out
twenty-five
seventy-six
```
####Input sample 2
```in
400 600
```
####Output sample 2
```out
None
```







answer:If there is no answer, please comment