[2023 OUCC Round 1] Square List
该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。
A student wants to be able to find all the square numbers from to , where n is a positive integer.
Task
Write a program that outputs a list of all the square numbers from to .
Constraints
.
Example
10
4 9 16 25 36 49 64 81 100
[Note: For languages such as Java/C# which require a class definition, the main class should be called: solution.]