|
Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб. Prepared by Ibrahim Mesecan.
Сложность Бета
Write a program to print series of squared numbers starting
from 1 and as long as the printed numbers are smaller than or equal to the given number (n).
Input specification
You will be given one integer (n) which is greater than 1 and is less than or equal to 100.000.
1 < n ≤ 100.000
Output specification
The numbers will be space separated.
Sample Input I
67
Sample Output I
1 4 9 16 25 36 49 64
Sample Input II
500
Sample Output II
1 4 9 16 25 36 49 64 81 100 121 144 169 196 225 256 289 324 361 400 441 484
Для отправки решений необходимо выполнить вход.
|