Problem:

Circle

Write a program which calculates the area and circumference of a circle for given radius r.

Input

A real number r is given.

Output

Print the area and circumference of the circle in a line. Put a single space between them. The output should not contain an absolute error greater than 10-5.

Constraints

  
 0 < r < 10000

Sample Input 1

2

Sample Output 1

12.566371 12.566371

Sample Input 2

3

Sample Output 2

28.274334 18.849556



Sample input:
2


Sample output:
12.566371 12.566371

Submission status: Accepted

Solution code:
i = float(input())
s = 3.141592653589

print(f"{i * i * s:.6f} {i * 2 * s:.6f}")

Submission status: Accepted

Solution code:
import math
r = float(input())
print("%.6f %.6f"%(math.pi * r * r, 2 * math.pi * r))

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.141592653589
l = 2*r*pi
size = r*r*pi
print("%.6f %.6f" %(size,l))

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.141592653589
S = pi * r ** 2
l = 2 * pi * r
print(S, l)

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.141592653589
l = r * 2 * pi
s = r * r * pi
print(f"{s} {l}")

Submission status: Accepted

Solution code:
r = float(input())
print('{:.6f}'.format(3.141592653589*r**2), '{:.6f}'.format(3.141592653589*r*2))

Submission status: Accepted

Solution code:
r=float(input())
import math
a=math.pi
b=r*r*a
c=2*r*a
print(b, c)

Submission status: Accepted

Solution code:
import math
r=float(input())
pi=math.pi
print("%.10f %.10f"%(r*r*pi,2*r*pi))

Submission status: Accepted

Solution code:
r=float(input())
pi=3.141592653589
print(r**2*pi,r*2*pi)

Submission status: Accepted

Solution code:
import math
r=float(input())
print('%.5f'%(math.pi*r*r),'%.5f'%(math.pi*r*2))

Submission status: Accepted

Solution code:
import math
r= float(input())

print(math.pi*r**2, math.pi*2*r)

Submission status: Accepted

Solution code:
import math

r=float(input())
s=math.pi*r*r
l=math.pi*2*r
print(f"{s:} {l:}")

Submission status: Accepted

Solution code:
r = float(input())
p = 3.141592653589
s = r*r*p
l = 2*r*p
print(f"{s:.6f} {l:.6f}")

Submission status: Accepted

Solution code:
import math
r = float(input())
print('{:.5f} {:.5f}'.format(r*r*math.pi, 2*r*math.pi))

Submission status: Accepted

Solution code:
import math
r = float(input())
print('{} {}'.format(math.pi*r*r, math.pi*2*r))

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.141592653589
print(f'{pi*r*r:.6f} {2*pi*r:.6f}')

Submission status: Accepted

Solution code:

r = float(input())
p = 3.141592653589
a = p*r**2
b = 2*p*r
print(f"{a:.6f} {b:.6f}")

Submission status: Accepted

Solution code:
import math
r = float(input())
l = 2.0 * math.pi * r
s = math.pi * r * r
print('{:.8f} {:.8f}'.format(s, l))

Submission status: Accepted

Solution code:
import math
r = float(input())

print("%.10f %.10f" %(r*r*math.pi, 2.0*math.pi*r))

Submission status: Accepted

Solution code:
import math

r = float(input())

area = r * r * math.pi
circumference = 2 * r * math.pi

print("{0:.20f} {1:.20f}".format(area, circumference))

Submission status: Accepted

Solution code:
r = float(input())
l = 2*r*3.141592653589
s = r**2*3.141592653589
print(f"{s:.5f} {l:.5f}")

Submission status: Accepted

Solution code:
import math

def area(r) -> float:
    return math.pi * r ** 2

def circumference(r) -> float:
    return 2 * math.pi * r

r = float(input())
print("%.5f %.5f" % (area(r), circumference(r)))

Submission status: Accepted

Solution code:
import math
a = float(input())
p = math.pi
print('{:.6f} {:.6f}'.format(a*a*p,2*a*p))

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.141592653589
print(str(round(pi*r*r, 6))+" "+str(round(2*r*pi, 6)))

Submission status: Accepted

Solution code:
def main():
    from math import pi
    r = float(input())
    print(r*r*pi,2*r*pi)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
r = float(input())
  
s = r * r * 3.141592653589;
l = 2.0 * r * 3.141592653589;
  
print(s, end = " ")
print(l)

Submission status: Accepted

Solution code:
import math

r=float(input())

print(r*r*math.pi, 2*r*math.pi)

Submission status: Accepted

Solution code:
import math
r = float(input())
print('{:5f}'.format(r**2*math.pi),'{:5f}'.format(2*r*math.pi))

Submission status: Accepted

Solution code:

r=float(input())
pi=3.141592653589

print(r*r*pi,2*pi*r)

Submission status: Accepted

Solution code:
import math
r=float(input())
print('{:.6f}'.format(math.pi*r*r),'{:.6f}'.format(math.pi*2*r))

Submission status: Accepted

Solution code:
import math

r = float(input())
pi = math.pi
print(r * r * math.pi, 2.0 * r * math.pi)

Submission status: Accepted

Solution code:
import math

pi = math.pi
r = float(input())
print(format(r**2 * pi, '.5f'), format(2 * pi * r, '.5f'))

Submission status: Accepted

Solution code:
import math

r = float(input())

s = float(r ** 2 * math.pi)
l = float(2 * r * math.pi)
print(f"{s:.6f} {l:.6f}")

Submission status: Accepted

Solution code:
import math
a = float(input())
print(f"{a*a*math.pi:.7f} {2.0*a*math.pi:.7f}")

Submission status: Accepted

Solution code:
r = float(input())

π = 3.141592653589
x = r**2 * π
y = 2 * r * π

print('{:.10f} {:.10f}'.format(x, y))

Submission status: Accepted

Solution code:
from math import pi

r = float(input())

print("%.10f %.10f" %(pi*r*r, 2*pi*r))

Submission status: Accepted

Solution code:
r = float(input())
p = 3.141592653589793238
print("%f %f" % ( r**2 * p, r*2 * p))

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.141592653589

S = r*r*pi
R = 2*r*pi

print(S,R)

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.141592653589793238462643383279
print("%.6f %.6f"%(pi*r*r, 2*pi*r))

Submission status: Accepted

Solution code:
import math
r = float(input())
print("{:.6f}".format(r*r*math.pi) + " " + "{:.6f}".format(r*2*math.pi))

Submission status: Accepted

Solution code:
import math
r = float(input())
print('%f %f' %(r * r * math.pi, 2 * r * math.pi))

Submission status: Accepted

Solution code:
r=float(input())
p=3.141592653589
print(p*r*r,2*r*p)

Submission status: Accepted

Solution code:
from math import pi
r = float(input())
print("{0} {1}".format(r * r * pi, (r + r) * pi))

Submission status: Accepted

Solution code:
import math
p=math.pi
r=float(input())
print(p*r**2,2*p*r)

Submission status: Accepted

Solution code:
import math

r = float(input())

S = math.pi * (r ** 2)
L = 2 * math.pi * r

print(S, L)

Submission status: Accepted

Solution code:
pai=3.141592653589
r=float(input())
area=pai*r**2
circumference=2*pai*r
print(f"{area:.5f} {circumference:.5f}")

Submission status: Accepted

Solution code:
import math
r = float(input())
pai = math.pi

menseki = r*r*pai
around = 2*r*pai
print(menseki, around)

Submission status: Accepted

Solution code:
import math

r = float(input())

print(r*r*math.pi, 2*r*math.pi)

Submission status: Accepted

Solution code:
import math
l = input().split()
r = float(l[0])

a = r*r*math.pi
b = 2*r*math.pi
print(f"{a:.6f} {b:.6f}")

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.141592653589
print(pi * r * r, 2 * pi * r)

Submission status: Accepted

Solution code:
pi = 3.141592653589
r = float(input())
S = pi * (r ** 2)
L = 2 * pi * r
print(f"{S:.6f} {L:.6f}")

Submission status: Accepted

Solution code:
import math
n=float(input())
print("%.10f %.10f"%((n**2)*math.pi,2*n*math.pi))

Submission status: Accepted

Solution code:
from math import pi
n = float(input())
s = pi*(n**2)
l = 2*n*pi
print('{:.6f} {:.6f}'.format(s, l))

Submission status: Accepted

Solution code:
from math import pi

r = float(input())
print("{:.5f} {:.5f}".format(pi * r * r, 2 * pi * r))

Submission status: Accepted

Solution code:
pi = 3.14159265359
r = float(input())
print(pi * r * r, 2 * pi * r)

Submission status: Accepted

Solution code:
pi=3.141592653589
r=float(input())
print(pi*(r**2),2*pi*r)

Submission status: Accepted

Solution code:
import math

x = math.pi

r = float(input())

area = r * r * x

circle = 2 * r * x

print("%f %f" % (area, circle))

Submission status: Accepted

Solution code:
a = float(input())
b = (a**2)*(3.14159265358979)
c = 2*a*3.1415926535
print("{} {}".format(b,c))

Submission status: Accepted

Solution code:
r = float(input())
print(f"{r*r*3.14159265358979} {2*r*3.14159265358979}")

Submission status: Accepted

Solution code:
pi = 3.14159265359
r = float(input())
print('%.10f %.10f'%(pi*r*r,2.0*pi*r))

Submission status: Accepted

Solution code:
# ITP1_4_B
import math
pi = math.pi
r = float(input())
s = pi * (r ** 2)
l = 2 * pi *r
print(str('{:.10f}'.format(s)) + ' ' + str('{:.10f}'.format(l)))

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.14159265359
a = r * r * pi
b = r * 2 * pi
print(str('{:.6f}'.format(a)) + ' ' + str('{:.6f}'.format(b)))

Submission status: Accepted

Solution code:
import math

r = float(input())

area = (r * r) * math.pi
len = 2 * math.pi * r

print('%.6f %.6f' % (area, len))

Submission status: Accepted

Solution code:
import math
pi = math.pi
r = float(input())
print(format(r*r*pi,'.6f'), format(2*r*pi,'.6f'))

Submission status: Accepted

Solution code:
import math

r = float(input())

a = (r ** 2) * math.pi

c = (2*r) * math.pi

print('{0:.6f}'.format(a), '{0:.6f}'.format(c))

Submission status: Accepted

Solution code:
import math
r = float(input())
print("%.6f %.6f"%((r**2)*math.pi, (r*2)*math.pi))

Submission status: Accepted

Solution code:
#coding: utf-8
import math

r = float(input())
print('%f %f' % (math.pi * r ** 2, 2 * math.pi * r))

Submission status: Accepted

Solution code:
import math
r = float(input())
print("%f %f"%(math.pi*r**2, 2*math.pi*r))

Submission status: Accepted

Solution code:
from math import pi
r=float(input())
print("%f %f" % (pi*r*r,2*pi*r))

Submission status: Accepted

Solution code:
import math

r = float(input())
print("%.6f %.6f" % (r **2 * math.pi, 2 * r * math.pi))

Submission status: Accepted

Solution code:
def test():

	i = list(map(float,input().split()))

	area = i[0] * i[0] * 3.141592653589
	circ = 2 * i[0] * 3.141592653589

	print(f"{area:.6f} {circ:.6f}")

if __name__ == "__main__":
	test()

Submission status: Accepted

Solution code:
import math

s = input()
r = float(s)

len=2*r*math.pi
S=r*r*math.pi
str_len= f"{len:.6f}"
str_S= f"{S:.6f}"

print(str_S,str_len)

Submission status: Accepted

Solution code:
import math
r = float(input())

print('%.10f %.10f' % (r**2*math.pi, 2*r*math.pi))

Submission status: Accepted

Solution code:
import math
r=float(input())
l=2*r*math.pi
s=r*r*math.pi
print(s,l)

Submission status: Accepted

Solution code:
r = float(input())
import math
pi = math.pi
S = pi*r**2
l = 2*pi*r
print("{} {}".format(S, l))

Submission status: Accepted

Solution code:
import math
r = float(input())
print("{0:.6f}".format(math.pi*(r**2)), "{0:.6f}".format(math.pi*(2*r)))

Submission status: Accepted

Solution code:
# -*- coding:utf-8
import math
r = float(input())

print("{:6f} {:6f}".format(r*r*math.pi,2*math.pi*r))

Submission status: Accepted

Solution code:
import math

r = float(input())
print(f"{r**2 * math.pi:.6f} {2 * r * math.pi:.6f}")

Submission status: Accepted

Solution code:
import math
r = float(input())
#print(math.pi)
x = math.pi*r*r
y = math.pi*r*2

print('{:.6f}'.format(x), '{:.6f}'.format(y))

Submission status: Accepted

Solution code:
import math
r = float(input())
pi = math.pi
print('%f %f' % (r*r*pi, 2*r*pi))

Submission status: Accepted

Solution code:
pi = 3.141592653589793238
a=float(input())
print(a**2 * pi, 2 * a * pi)

Submission status: Accepted

Solution code:
import math
r = float(input())
print("%f %f" %(math.pi * r * r, 2 * math.pi * r))

Submission status: Accepted

Solution code:
import sys
import math

nums = float(sys.stdin.readline())
f = '{:.06f}'
print(f.format(nums * nums * math.pi), f.format((nums * 2) * math.pi))

Submission status: Accepted

Solution code:
from math import pi #円周率
#浮動小数点数で読む
r = float(input())
area = r * r * pi
cir =(r+r) * pi
print(f'{(area):.6f} {(cir):.6f}')

Submission status: Accepted

Solution code:
import math

r = float(input())
print("%.10f %.10f"%(r**2*math.pi, 2*math.pi*r))

Submission status: Accepted

Solution code:
pi = 3.141592653589793
r = float(input())
print(r*r*pi, 2*r*pi)

Submission status: Accepted

Solution code:
i = float(input())
pi = 3.141592653589

s = i * i * pi
r = i * 2 * pi

print(s, r)

Submission status: Accepted

Solution code:
import math
r = float(input())
area = round(r**2 * math.pi, 7)
length = round(2 * r * math.pi, 7)
print(str(area) , str(length))

Submission status: Accepted

Solution code:
from math import pi as p
r=float(input())
print(r**2*p,r*p*2)

Submission status: Accepted

Solution code:
import math
r = float(input())
L = 2 * r * math.pi
S = r * r * math.pi
print('{:.5f}'.format(S), '{:.5f}'.format(L))

Submission status: Accepted

Solution code:
import math
r=float(input())
x=2.0*math.pi*r
y=math.pi*r*r
print('%.6f %.6f'%(y,x))

Submission status: Accepted

Solution code:
r = float(input())

a = r*r*3.141592653589

b = 2*r*3.141592653589

print(f"{a:.5f} {b:.5f}")

Submission status: Accepted

Solution code:
r=float(input())
x=r*r*3.141592653589 
y=2*r*3.141592653589 
print(str(("{:.8f}".format(x)))+" "+str(("{:.8f}".format(y))))

Submission status: Accepted

Solution code:
a=float(input())
x=a*a*3.141592653589
y=2*a*3.141592653589
print(str(("{:.8f}".format(x)))+" "+str(("{:.8f}".format(y))))

Submission status: Accepted

Solution code:
import math
r = input()
r = float(r)
a = math.pi*r*r
b = math.pi*2*r
print("%.5f %.5f"%(a,b))

Submission status: Accepted

Solution code:
import math

r = float(input())
print(math.pi*r**2, 2*math.pi*r)

Submission status: Accepted

Solution code:
r=float(input())

print("%.6f %.6f" %(r*r*3.141592653589,r*2*3.141592653589))

Submission status: Accepted

Solution code:
import math

r = float(input())

print("%f %f" % (r * r* math.pi, 2 * r * math.pi))

Submission status: Accepted

Solution code:
r = float(input())
x = 3.141592653589
A = r**2*x
B = 2*r*x
print(A,B)

Submission status: Accepted

Solution code:
a=float(input())
z=(3.141592653589)
g=(a*a*z)
o=(2*a*z)
print(str(g)+' '+str(o))

Submission status: Accepted

Solution code:
import math
  
r=float(input())
  
print("%10f %10f"%(r*r*math.pi, 2*r*math.pi) )

Submission status: Accepted

Solution code:
pi=3.1415926535897
r=float(input())

S=r*r*pi
circle_long=2*pi*r

print(f"{S:6f} {circle_long:.6f}")

Submission status: Accepted

Solution code:
import math
pi = math.pi

r = float(input())
S = pi * (r**2)
l = 2 * pi * r

print("{:5f}".format(S), "{:5f}".format(l))

Submission status: Accepted

Solution code:
import math

r = float(input())

area = r * r * math.pi
circle = 2 * math.pi * r

print("{0:.6f} {1:.6f}".format(area,circle))

Submission status: Accepted

Solution code:
import math

r = float(input())
print("{:.6f} {:.6f}".format(math.pi*r*r,2*math.pi*r))

Submission status: Accepted

Solution code:
import math
r = float(input())

print("{0:.8f}".format(math.pi * r ** 2), "{0:.8f}".format(2*math.pi*r))

Submission status: Accepted

Solution code:
import math
r =float(input())
print(math.pi*r**2,2*math.pi*r)

Submission status: Accepted

Solution code:
import math

r = float(input())

print(math.pi*(r**2), 2*math.pi*r)

Submission status: Accepted

Solution code:
r = float(input())
area = r**2*3.141592653589
premeter = 2*r*3.141592653589
print(f"{area:.6f} {premeter:.6f}")

Submission status: Accepted

Solution code:
import math

r = float(input())

pi = math.pi

s = pi*r**2
l = 2*pi*r


print('{:.6f} {:.6f}'.format(s, l))

Submission status: Accepted

Solution code:
import math


if __name__ == "__main__":
    r = float(input())
    area = math.pi * r ** 2.0
    circumstance = 2.0 * math.pi * r
    print(f"{area:.5f} {circumstance:.5f}")

Submission status: Accepted

Solution code:
import math

r = float(input())
S = float(r ** 2 * math.pi)
L = float(2 * math.pi * r)
print(format(S, '.6f') + " " + format(L, '.6f'))

Submission status: Accepted

Solution code:
import math
r = float(input())
menseki = r ** 2 * math.pi
ensyu = 2 * r * math.pi

print(str('{:.6f}'.format(menseki)) + " " + str('{:.6f}'.format(ensyu)))

Submission status: Accepted

Solution code:
r=float(input())
print(f"{3.141592653589*r*r:.6f} {3.141592653589*r*2:.6f}")

Submission status: Accepted

Solution code:
import math
r = float(input())
s = r**2*math.pi
l = r*2*math.pi
print(s, l)

Submission status: Accepted

Solution code:
import math
r = float(input())
print("%f %f"%(r*r*math.pi,2*r*math.pi))

Submission status: Accepted

Solution code:
pi=3.141592653589
r=float(input())
print(f'{r*r*pi:7f} {2*r*pi}')

Submission status: Accepted

Solution code:
p=3.141592653589
r=float(input())
print(r*r*p,2*r*p)

Submission status: Accepted

Solution code:
from math import pi
# import math
# math.pi

r = float(input())

print("{0} {1}".format(r * r * pi, 2 * r * pi))

Submission status: Accepted

Solution code:
import math

r = float(input())

print("{:.5f} {:.5f}".format(r ** 2 * math.pi, 2 * math.pi * r))

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
import math

r = float(input())

area = math.pi * (r ** 2)
edge = math.pi * 2 * r

print(area, edge)

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.1415926535897932384626
print(pi*r*r,2*pi*r)

Submission status: Accepted

Solution code:
import math
r = float(input())
print ('{0:f} {1:f}'.format(math.pi*r**2, math.pi*2*r))

Submission status: Accepted

Solution code:
r=float(input())
pi=3.141592653589
print("{:.8f}".format(r*r*pi),"{:.8f}".format(2*r*pi))

Submission status: Accepted

Solution code:
from math import pi
r=float(input())
print(r**2*pi,r*2*pi)

Submission status: Accepted

Solution code:
import math
r = float(input())
S = math.pi * r * r
L = 2 * math.pi * r
print(S, L)

Submission status: Accepted

Solution code:

r = float(input())
a = 3.14159265358979
menseki = r *r * a
nagasa = 2 * r * a
print("{0:.6f}".format(menseki), end ="")
print(" ""{0:.6f}".format(nagasa))

Submission status: Accepted

Solution code:
r = float(input())
l = 3.141592653589
print(r*r*l,2*r*l)

Submission status: Accepted

Solution code:
r = float(input())
l = 2 * 3.141592653589 * r
s = 3.141592653589 * (r**2)

print("{0} {1}".format(s, l))

Submission status: Accepted

Solution code:
r = float(input())
import math
p=math.pi

S=float(r*r*p)
R=float(2*r*p)
print(S,R)

Submission status: Accepted

Solution code:
import math

r = (float)(input())

print("%f %f"%(r*r*math.pi,2*r*math.pi))

Submission status: Accepted

Solution code:
import math
r=float(input())
print("{:.6f} {:6f}".format(math.pi*(r**2),2*r*math.pi))

Submission status: Accepted

Solution code:
import math
r=float(input())
print("%f %f" % (r*r*math.pi,2*r*math.pi))

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.141592653589793238
print(r * r * pi, 2 * r * pi)

Submission status: Accepted

Solution code:
pi = 3.1415926535897
r = float(input())
print(pi*r**2, 2*pi*r)

Submission status: Accepted

Solution code:
import math
r = float(input())
S = math.pi * r * r
l = 2 * math.pi * r
print(f"{S:.6f} {l:.6f}")

Submission status: Accepted

Solution code:
import math
r = float(input())
print("%.6f %.6f" % (math.pi * r * r, 2 * math.pi * r))

Submission status: Accepted

Solution code:
import math
a=float(input())
print("%.10f %.10f"%(a*a*math.pi, 2*a*math.pi))

Submission status: Accepted

Solution code:
r = float(input())
n = 3.141592653589
print("{:.6f} {:.6f}".format(r**2*n,r*2*n))

Submission status: Accepted

Solution code:

import math
r = float(input())

print("%.10f %.10f"%(r*r*math.pi,2.0*math.pi*r))

Submission status: Accepted

Solution code:
import math
r = float(input())
print(r * r * math.pi,2 * r * math.pi)

Submission status: Accepted

Solution code:
r = float(input())
pai = 3.141592653589
m = pai * r ** 2
print(f"{m:.5f} {2 * pai * r:.5f}")

Submission status: Accepted

Solution code:
import math

r = float(input())
print("%.10f %.10f" % (r * r * math.pi, 2.0 * math.pi * r))

Submission status: Accepted

Solution code:
r=float(input())

pi=3.141592653589

print(r**2*pi,2*r*pi)

Submission status: Accepted

Solution code:
r1=input()
r=float(r1)
l=2*r*3.14159265359
a=r*r*3.14159265359
print(f"{a} {l}")

Submission status: Accepted

Solution code:
#from numpy import*
#from scipy import*
from collections import* #defaultdict Counter deque appendleft
from fractions import gcd
from functools import* #reduce
from itertools import* #permutations("AB",repeat=2) combinations("AB",2) product("AB",2) groupby
from operator import mul
from bisect import* #bisect_left bisect_right
from heapq import* #heapify heappop heappushpop
from math import*  #factorial
from copy import deepcopy
import sys
#input=sys.stdin.readline  #危険！基本オフにしろ！
sys.setrecursionlimit(10**6)


def main():
    n=float(input())
    print(n**2*pi,n*2*pi)
    
    
    
if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import decimal


PI = decimal.Decimal("3.141592653589")

r = decimal.Decimal(input())

print(f"{r ** 2 * PI} {2 * r * PI}")

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.141592653589
s = pi * r ** 2
l = 2 * pi * r
print(s, l)

Submission status: Accepted

Solution code:
import math as mp
num_val = float(input())
list_circle = [round(mp.pi * num_val ** 2, 6), round(2 * mp.pi * num_val, 6)]
print(" ".join(map(str, list_circle)))

Submission status: Accepted

Solution code:
r = float(input())
l = 2*3.141592653589*r
S=3.141592653589*r**2
print(f"{S:.6f} {l:.6f}")

Submission status: Accepted

Solution code:
# coding: utf-8
pi=3.141592653589
r=float(input())
print("{:.6f} {:.6f}".format(r*r*pi,2*r*pi))

Submission status: Accepted

Solution code:
r = float(input())
a = r*r*3.14159265359
b = 2*r*3.14159265359
print(f"{a:.6f} {b:.6f}")

Submission status: Accepted

Solution code:
import math
r = float(input())

print("%.6f %.6f"%(r*r*math.pi,2.0*math.pi*r))

Submission status: Accepted

Solution code:
import math
r=float(input())
s=r**2*math.pi
l=2*r*math.pi
print('{:.6f}'.format(s),'{:.6f}'.format(l))

Submission status: Accepted

Solution code:
r = float(input())
print(r*r*3.141592653589, r*2*3.141592653589)

Submission status: Accepted

Solution code:
r = float(input())
print(r*r*3.141592653589, 2*r*3.141592653589)

Submission status: Accepted

Solution code:
r = float(input())
import math
s = r ** 2 * math.pi
l = 2 * r * math.pi
print(s,l)

Submission status: Accepted

Solution code:
r = float(input())
a = r*r*3.141592653589
b = 2*r*3.141592653589
print(a,b)

Submission status: Accepted

Solution code:
r= float(input())
import math
pi=math.pi

s = (r**2)*pi
l = 2*r*pi
print(s, l)

Submission status: Accepted

Solution code:
pi = 3.14159265359

r = float(input())
s = r*r*pi
l = 2*r*pi
print(s,l)

Submission status: Accepted

Solution code:

r = float(input())
p = 3.141592653589
print(p*r*r, 2*p*r)

Submission status: Accepted

Solution code:
r = float(input())
import math
print(r * r * math.pi, r * 2 * math.pi)

Submission status: Accepted

Solution code:
r=float(input())

print("%.5f %.5f"%(r*r*3.141592653589,r*2*3.141592653589))

Submission status: Accepted

Solution code:
from math import pi

r = float(input())
print(r**2 * pi, 2 * r * pi)

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.1415926535897
print(r * r * pi,2 * r * pi)

Submission status: Accepted

Solution code:
r = float(input())
from math import pi
print( f"{((pi)*r**2):.6f}", f"{(2*(pi)*r):.6f}")

Submission status: Accepted

Solution code:
import math
r =float(input())
print("%.10f %.10f"%(r*r*math.pi,r*math.pi*2.0))

Submission status: Accepted

Solution code:
r = float(input())
a = float(r*r*3.141592653589)
b= float(2*r*3.141592653589)
print (a,b)

Submission status: Accepted

Solution code:
r = float(input())

pi=float(3.141592653589)

S = r*r*pi
L = 2*r*pi

print(S,L)

Submission status: Accepted

Solution code:
r = float(input())
s = r*r*3.141592653589
l = 2*r*3.141592653589
print("{0:.6f}".format(s), "{0:.6f}".format(l))

Submission status: Accepted

Solution code:
a=float(input())
import math
m=math.pi*a*a
l=math.pi*a*2

print(m,l)

Submission status: Accepted

Solution code:
r = float(input())
s = r*r*3.141592653589
v = 2*r*3.141592653589
print("{0:.6f}".format(s),"{0:.6f}".format(v))

Submission status: Accepted

Solution code:
r=float(input())
a=r*r*3.141592653589
b=2*r*3.141592653589
print("{:.6f}".format(a),"{:.6f}".format(b))

Submission status: Accepted

Solution code:
import math
pi = math.pi
r = float(input())

print(r*r*pi, 2*r*pi)

Submission status: Accepted

Solution code:
r = float(input())
a = r*r*3.141592653589
b = 2*r*3.141592653589
print("{:.6f}".format(a),"{:.6f}".format(b))

Submission status: Accepted

Solution code:
r = float(input())
    
a = r * r * 3.141592653589
b = 2 * r * 3.141592653589
    
print(f"{a:.6f} {b:.6f}")

Submission status: Accepted

Solution code:
r = float(input())
   
a = r * r * 3.141592653589
b = 2 * r * 3.141592653589
   
print(f"{a:.6f} {b:.6f}")

Submission status: Accepted

Solution code:
r = float(input())
 
a = r * r * 3.141592653589
b = 2 * r * 3.141592653589
 
print(f"{a:.6f} {b:.6f}")

Submission status: Accepted

Solution code:
r = float(input())

a = r * r * 3.141592653589
b = 2 * r * 3.141592653589

print(f"{a:.6f} {b:.6f}")

Submission status: Accepted

Solution code:
r=float(input())
 
print("%.5f %.5f"%(r*r*3.141592653589,r*2*3.141592653589))

Submission status: Accepted

Solution code:
r=float(input())
   
print("%.5f %.5f"%(r*r*3.141592653589,r*2*3.141592653589))

Submission status: Accepted

Solution code:
r=float(input())
  
print("%.5f %.5f"%(r*r*3.141592653589,r*2*3.141592653589))

Submission status: Accepted

Solution code:
r=float(input())
 
print("%.5f %.5f"%(r*r*3.141592653589,r*2*3.141592653589))

Submission status: Accepted

Solution code:
r=float(input())
pi=3.14159265358979
print('{:.12f} {:.12f}'.format((r**2)*pi,(2*r)*pi))

Submission status: Accepted

Solution code:
import math
r = float(input())
print(r * r * math.pi, r * 2 * math.pi)

Submission status: Accepted

Solution code:
import math
r = float(input())
print("%.5f %.5f" %(math.pi*(r**2),2*math.pi*r))

Submission status: Accepted

Solution code:
from math import pi
r=float(input())
print("{:.5f} {:.5f}".format(r*r*pi, 2*r*pi))

Submission status: Accepted

Solution code:
pi=3.141592653589
r=float(input())
print("{:.6f}".format(r*r*pi),"{:.6f}".format(2*pi*r))

Submission status: Accepted

Solution code:
import math
r = float(input())

print("%.10f %.10f"%(r**2*math.pi,2.0*math.pi*r))

Submission status: Accepted

Solution code:
def main():

    # 引数を受け取る
    r = float(input())

    pi = 3.141592653589

    area = pi * r * r
    length = 2 * pi *r

    print('{0:.8f} {1:.8f}'.format(area, length))
    

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
import math

r = float(input())

circumference = 2 * math.pi * r
s = math.pi * r * r

print(s, circumference)

Submission status: Accepted

Solution code:
r = float(input())

pi=3.141592653589
print("%f %f" % (r*r*pi, r*2*pi))

Submission status: Accepted

Solution code:
import math
r = float(input())
print("%.10f %.10f"%(r*r*math.pi,2*r*math.pi))

Submission status: Accepted

Solution code:
from math import pi
r = float(input())
print(f'{(r ** 2) * pi :4f} {2 * pi * r :4f}')

Submission status: Accepted

Solution code:
import math

r=float(input())

area=r*r*math.pi
circumference=2*r*math.pi

print("{:.6f} {:.6f}".format(area,circumference))

Submission status: Accepted

Solution code:
import math
r = float(input())
pi = math.pi
print("{0:.10f} {1:.10f}".format(r*r*pi, 2*r*pi))

Submission status: Accepted

Solution code:
import math

if __name__ == '__main__':
	r = float(input())
	print("%f %f" % (math.pi*r**2, math.pi*r*2))

Submission status: Accepted

Solution code:
import math
pi = math.pi

samp = input()
samp = samp.split(" ")
r = float(samp[0])

s = pi * r**2
l = 2 * pi * r

print(("{:.6f} {:.6f}").format(s,l))

Submission status: Accepted

Solution code:
###
### atcorder test program
###

### math class
class math:
    ### pi
    pi = 3.14159265358979323846264338

    ### GCD
    def gcd(self, a, b):
        if b == 0:
            return a
        return self.gcd(b, a%b)

math = math()

### input num
#i = input()
#A, B = [int(x) for x in i.split()]
R = float(input())
#A = [int(x) for x in input().split()]

#print("{0} {1} {2:.5f}".format(A//B, A%B, A/B))

print("{0:.6f} {1:.6f}".format(R*R*math.pi,R*2*math.pi))

Submission status: Accepted

Solution code:
import math
r = float(input())
a = float(math.pi*2*r)
b = float(math.pi*r*r)
print("{} {}".format(round(b,5),round(a,5)))

Submission status: Accepted

Solution code:
r=float(input())
m=3.141592653589

a='{:.6f}'.format(r*r*m)
c='{:.6f}'.format(2*r*m)
print(a+' '+c)

Submission status: Accepted

Solution code:
import math

r = float(input())
S = math.pi * r * r
l = 2 * math.pi * r
print(S,l)

Submission status: Accepted

Solution code:
import math
r=float(input())
pi=3.141592653589
area=float(r**2*pi)
l=float(2*r*pi)
print("{:.6f}".format(area),"{:.6f}".format(l))

Submission status: Accepted

Solution code:
import math
r=float(input())
print("%.10f %.10f"%(math.pi*r**2,2*r*math.pi))

Submission status: Accepted

Solution code:
import math
r = float(input())
a = math.pi
area = r * r * a
circle = r * 2 * a
area = "{0:.6f}".format(area)
circle = "{0:.6f}".format(circle)
ac_list = [area, circle]
for j in range(1):
    print(ac_list[j],end = ' ')

print(ac_list[1])

Submission status: Accepted

Solution code:
r = float(input())
p = 3.141592653589793
print(r*r*p,2*p*r)

Submission status: Accepted

Solution code:
import math
r=float(input())
print("%.10f %.10f" % (math.pi*r*r, math.pi*r*2.0))

Submission status: Accepted

Solution code:
r = float(input())
p = float()
p = 3.141592653589

m = r * r * p
e = 2 * r * p

m = str(m)
e = str(e)
k = " "

ans = m + k + e
print(ans)

Submission status: Accepted

Solution code:
pi = 3.141592653589793238
r = float(input())
print('%.10f %.10f'%(pi * r * r,2 * pi * r))

Submission status: Accepted

Solution code:
import math
r = float(input())
a = math.pi * r**2
c = 2 * math.pi * r
print('{0:.5f} {1:.5f}'.format(a, c))

Submission status: Accepted

Solution code:
import math
r = float(input())
 
print("%.10f %.10f"%(r*r*math.pi,2.0*math.pi*r))

Submission status: Accepted

Solution code:
import math

r = float(input())
print(f'{r**2*math.pi:.5f} {r*2*math.pi:.5f}')

Submission status: Accepted

Solution code:
import math

pi = math.pi
r = float(input())

circle = round(2 * r * pi, 6)
circle_area = round(r ** 2 * pi, 6)

print(circle_area,circle)

Submission status: Accepted

Solution code:
r = float(input())
R = 3.141592653589

S = r*r*R
L = 2*r*R
print("{:.6f} {:.6f}".format(S,L))

Submission status: Accepted

Solution code:
import math

r =float(input())
print(f"{r**2*math.pi:f} {2*r*math.pi:f}")

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.141592653589
print("{:f} {:f}".format(pi*r**2,2*pi*r))

Submission status: Accepted

Solution code:
import math

r = float(input())

print("{0:.8f}".format(r * r * math.pi), "{0:.8f}".format(2 * r * math.pi))

Submission status: Accepted

Solution code:
i =float(input())

pi = 3.141592653589

print(f"{i*i*pi:.6f} {2*i*pi:.6f}")

Submission status: Accepted

Solution code:
import math

r = float(input())
print(f"{math.pi * r ** 2:.6f}", f"{2 * math.pi * r:.6f}")

Submission status: Accepted

Solution code:
import math
 
 
r=float(input())
print("%f %f" %(r*r*math.pi,2*r*math.pi))

Submission status: Accepted

Solution code:
import math

r = float(input())

print("%.6f %.6f" %(math.pi*r*r , 2*r*math.pi))