2026-02-24 22:19:44 +09:00

3 lines
126 B
Python

from math import pi as p
R = int(input())
print('\n'.join(map(str,[round(p*R**2,6) if i == 0 else 2*R**2 for i in range(2)])))