D. 【基础】既生瑜,何生亮!

    Type: Default 1000ms 64MiB

【基础】既生瑜,何生亮!

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

数组问题 函数问题

自定义函数

Not Claimed
Status
Done
Problem
6
Open Since
2025-12-12 0:00
Deadline
2025-12-19 23:59
Extension
24 hour(s)