传统题 1000ms 256MiB

[2023 OUCC Round 1] Square List

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

A student wants to be able to find all the square numbers from 22 to nn​, where n is a positive integer.

Task

Write a program that outputs a list of all the square numbers from 22 to nn.

Constraints

1<n<10001 < n < 1000.

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.]

2025 OUCC

未参加
状态
已结束
规则
IOI
题目
17
开始于
2025-5-4 17:00
结束于
2025-5-4 19:30
持续时间
2.5 小时
主持人
参赛人数
2