Time Limit: 2 sec / Memory Limit: 1024 MB
配点 : 100 点
問題文
整数 r が与えられます。
半径 r の円の面積が半径 1 の円の面積の何倍になるかを求めてください。
なお答えは制約の下では必ず整数になることが示せます。
制約
- 1 \leq r \leq 100
- 入力中のすべての値は整数である。
入力
入力は以下の形式で標準入力から与えられる。
r
出力
半径 r の円の面積が半径 1 の円の面積の何倍になるかを整数で出力せよ。
入力例 1
2
出力例 1
4
半径 2 の円の面積は半径 1 の円の面積の 4 倍です。
4.0
などの形式で出力すると不正解になることに注意してください。
入力例 2
100
出力例 2
10000
Score : 100 points
Problem Statement
Given is an integer r.
How many times is the area of a circle of radius r larger than the area of a circle of radius 1?
It can be proved that the answer is always an integer under the constraints given.
Constraints
- 1 \leq r \leq 100
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
r
Output
Print the area of a circle of radius r, divided by the area of a circle of radius 1, as an integer.
Sample Input 1
2
Sample Output 1
4
The area of a circle of radius 2 is 4 times larger than the area of a circle of radius 1.
Note that output must be an integer - for example, 4.0
will not be accepted.
Sample Input 2
100
Sample Output 2
10000