#F. C++-初识C++-求正方形的面积

    Type: Default 1000ms 256MiB

C++-初识C++-求正方形的面积

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

有一个正方形,四个角的坐标(x,y)分别是(1,-1),(1,1),(-1,-1),(-1,1),x是横轴,y是纵轴。写一个程序,计算其周长和面积。

Format

Input

Output

Samples


8
4

Limitation

1s, 1024KiB for each test case.

初识C++

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
6
Start at
2024-4-27 17:15
End at
2024-5-10 5:15
Duration
300 hour(s)
Host
Partic.
10