【基础】既生瑜,何生亮!
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Description
某数的平方是7位数,且这7个数字不相同,如1267^2=1605289。 编写程序,输入x,y(1000≤x≤y≤9999)在x~y的范围内找出所有符合条件的数并打印出来。
Input Format
一行,一个整数。
Output Format
若干行,每行一个符合条件的数。
1000 1025
1017
1023
1024
Source
数组问题 函数问题