Problem Description

Types: C r for circle, S a for square. Print area for each shape with 2 decimals.

Input Format

First n. Next n lines type value.

Output Format

n lines areas.

Sample Test Case

Input:
3 C 1 S 2 C 3
Output:
3.14 4.00 28.27

Constraints

n

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next