#C. C++-循环for-给定一个正整数n,输出1~n的平方数

    Type: Default 1000ms 256MiB

C++-循环for-给定一个正整数n,输出1~n的平方数

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.

Background

Description

C++-循环for-给定一个正整数n,输出1~n的平方数 image

Format

Input

Output

Samples

10
1 4 9 16 25 36 49 64 81 100

Limitation

1s, 1024KiB for each test case.

C++基础知识02(循环-for和while及嵌套)

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
18
Start at
2024-5-5 0:00
End at
2024-5-25 20:00
Duration
500 hour(s)
Host
Partic.
28