s_id stringlengths 10 10 | p_id stringlengths 6 6 | u_id stringlengths 10 10 | date stringlengths 10 10 | language stringclasses 1
value | original_language stringclasses 11
values | filename_ext stringclasses 1
value | status stringclasses 1
value | cpu_time stringlengths 1 5 | memory stringlengths 1 7 | code_size stringlengths 1 6 | code stringlengths 1 539k |
|---|---|---|---|---|---|---|---|---|---|---|---|
s931117987 | p02400 | u279955105 | 1454747487 | Python | Python3 | py | Runtime Error | 0 | 0 | 98 | import math
r = int(input())
a = math.pi * r**2
b = math.pi * r * 2
print(str(a) + " " + str(b)) |
s666920053 | p02400 | u436807165 | 1455150794 | Python | Python | py | Runtime Error | 0 | 0 | 64 | import math
r = input()
print "%f, %f"math.pi*(r**2),2*r*math.pi |
s467845539 | p02400 | u605879293 | 1456312386 | Python | Python3 | py | Runtime Error | 0 | 0 | 82 | pi = 3.14159265
r = int(input())
print(round(r * r * pi, 6), round(2 * pi * r, 6)) |
s117268454 | p02400 | u605879293 | 1456312804 | Python | Python3 | py | Runtime Error | 0 | 0 | 89 | from numpy import pi
r = float(input())
print(round(r * r * pi, 7), round(2 * pi * r, 7)) |
s975809848 | p02400 | u605879293 | 1456312939 | Python | Python3 | py | Runtime Error | 0 | 0 | 89 | from numpy import pi
r = float(input())
print(round(r * r * pi, 7), round(2 * pi * r, 7)) |
s013078176 | p02400 | u653239976 | 1456846330 | Python | Python | py | Runtime Error | 0 | 0 | 120 | #coding: UTF-8
l = raw_input()
r = int(l)
import math
S = math.pi * r**2
C = 2 * math.pi * r
print "%f %f" %(S, C) |
s689346204 | p02400 | u075836834 | 1457349812 | Python | Python3 | py | Runtime Error | 0 | 0 | 74 | import math
r = int(input())
print("%.6f %.6f"%(r*r*math.pi,2*r*math.pi)) |
s037136316 | p02400 | u313796116 | 1457833205 | Python | Python3 | py | Runtime Error | 0 | 0 | 60 | import math;r=int(input());print(math.pi*(r**2),2*math.pi*r) |
s498826324 | p02400 | u994049982 | 1458664495 | Python | Python | py | Runtime Error | 0 | 0 | 76 | a=input()
p=3.141592653589793
print(str(float(p*a**2)+" "+str(float(2*p*a))) |
s664326603 | p02400 | u869301406 | 1459152606 | Python | Python | py | Runtime Error | 0 | 0 | 72 | import numpy as np
r = input()
a = r**2*np.pi
b = r*2*np.pi
print a,b |
s047215727 | p02400 | u869301406 | 1459152711 | Python | Python | py | Runtime Error | 0 | 0 | 72 | import numpy as np
r = input()
a = r**2*np.pi
b = r*2*np.pi
print a,b |
s391998091 | p02400 | u463783070 | 1459325953 | Python | Python3 | py | Runtime Error | 0 | 0 | 97 | r = map(int,input().split())
print (format(r**r*3.14159265, '.6f'),format(r*r*3.14159265, '.6f')) |
s160201333 | p02400 | u463783070 | 1459326400 | Python | Python3 | py | Runtime Error | 0 | 0 | 93 | from math import pi
r = float(input())
print (format(r**r*pi, ':.6f'),format(r*r*pi, ':.6f')) |
s084080625 | p02400 | u463783070 | 1459326684 | Python | Python3 | py | Runtime Error | 0 | 0 | 93 | from math import pi
r = float(input())
print (format(r**2*pi, ':.6f'),format(r*pi*2, ':.6f')) |
s989645131 | p02400 | u237991875 | 1459333180 | Python | Python | py | Runtime Error | 0 | 0 | 72 | import math
n = int(raw_input())
print n * n * math.pi, 2 * n * math.pi |
s244418010 | p02400 | u130979865 | 1459556181 | Python | Python | py | Runtime Error | 0 | 0 | 90 | # -*- coding: utf-8 -*-
import math
r = input()
print "%f %f" %(r*r*math.pi, 2*r*mat.pi) |
s790456654 | p02400 | u130979865 | 1459556277 | Python | Python | py | Runtime Error | 0 | 0 | 101 | # -*- coding: utf-8 -*-
import math
r = float(raw_input())
print "%f %f" %(r*r*math.pi, 2*r*mat.pi) |
s141955657 | p02400 | u402330988 | 1459741053 | Python | Python3 | py | Runtime Error | 0 | 0 | 161 | # encoding:utf-8
import math as ma
# math.pi
x = int(input())
pi = (x * x) * ma.pi
# Circumference
pi_line = x * ma.pi
print("{0:f} {1:f}".format(pi,pi_line)) |
s395542744 | p02400 | u226888928 | 1460679331 | Python | Python3 | py | Runtime Error | 0 | 0 | 83 | import math
r=int(input())
print('{0:.5f} {1:.5f}'.format(math.pi*r*r,math.pi*r*2)) |
s348854310 | p02400 | u226888928 | 1460679428 | Python | Python3 | py | Runtime Error | 0 | 0 | 86 | import math
r=double(input())
print('{0:.5f} {1:.5f}'.format(math.pi*r*r,math.pi*r*2)) |
s615756620 | p02400 | u332767892 | 1460947601 | Python | Python | py | Runtime Error | 0 | 0 | 206 | import math
class Circle:
def output(self, r):
print "%.6f %.6f" % (math.pi * r * r, 2.0 * math.pi * r)
if __name__ == "__main__":
cir = Circle()
r = int(raw_input())
cir.output(r) |
s338486815 | p02400 | u332767892 | 1460949171 | Python | Python | py | Runtime Error | 0 | 0 | 217 | import sys
import math
class Circle:
def output(self, r):
print "%.6f %.6f" % (math.pi * r * r, 2.0 * math.pi * r)
if __name__ == "__main__":
cir = Circle()
r = int(raw_input())
cir.output(r) |
s200750606 | p02400 | u077284614 | 1461238842 | Python | Python3 | py | Runtime Error | 0 | 0 | 89 | r = (int)input().split()
import math
d = r * r * math.pi
l = 2 * r * math.pi
print("d l") |
s114271031 | p02400 | u077284614 | 1461238865 | Python | Python3 | py | Runtime Error | 0 | 0 | 98 | r = (int)input().split()
import math
d = r * r * math.pi
l = 2 * r * math.pi
print("%f %f" %(d,l)) |
s490561896 | p02400 | u077284614 | 1461238954 | Python | Python3 | py | Runtime Error | 0 | 0 | 101 | r = (double)input().split()
import math
d = r * r * math.pi
l = 2 * r * math.pi
print("%f %f" %(d,l)) |
s619097663 | p02400 | u077284614 | 1461238996 | Python | Python3 | py | Runtime Error | 0 | 0 | 93 | r = input().split()
import math
d = r * r * math.pi
l = 2 * r * math.pi
print("%f %f" %(d,l)) |
s963725129 | p02400 | u077284614 | 1461239016 | Python | Python3 | py | Runtime Error | 0 | 0 | 85 | r = input()
import math
d = r * r * math.pi
l = 2 * r * math.pi
print("%f %f" %(d,l)) |
s643719835 | p02400 | u077284614 | 1461239027 | Python | Python3 | py | Runtime Error | 0 | 0 | 93 | r = (double)input()
import math
d = r * r * math.pi
l = 2 * r * math.pi
print("%f %f" %(d,l)) |
s171551751 | p02400 | u077284614 | 1461239111 | Python | Python3 | py | Runtime Error | 0 | 0 | 90 | r = (int)input()
import math
d = r * r * math.pi
l = 2 * r * math.pi
print("%f %f" %(d,l)) |
s096725152 | p02400 | u077284614 | 1461239218 | Python | Python3 | py | Runtime Error | 0 | 0 | 90 | r = int(input())
import math
d = r * r * math.pi
l = 2 * r * math.pi
print("%f %f" %(d,l)) |
s406399595 | p02400 | u077284614 | 1461239237 | Python | Python3 | py | Runtime Error | 0 | 0 | 90 | r = int(input())
import math
d = r * r * math.pi
l = 2 * r * math.pi
print("%f %f" %(d,l)) |
s836906631 | p02400 | u077284614 | 1461239253 | Python | Python3 | py | Runtime Error | 0 | 0 | 93 | r = double(input())
import math
d = r * r * math.pi
l = 2 * r * math.pi
print("%f %f" %(d,l)) |
s387955146 | p02400 | u791170614 | 1461525977 | Python | Python3 | py | Runtime Error | 0 | 0 | 97 | r = int(input())
men = (r**2) / 3.141592
sen = (r * 2) / 3.141592
print('%.6f %.6f' % (men,sen)) |
s692249437 | p02400 | u791170614 | 1461526377 | Python | Python3 | py | Runtime Error | 0 | 0 | 109 | import math
r = int(input())
PI = math.pi
men = (r**2) * PI
sen = (r * 2) * PI
print('%.6f %.6f' % (men,sen)) |
s394243134 | p02400 | u791170614 | 1461526573 | Python | Python3 | py | Runtime Error | 0 | 0 | 109 | import math
r = int(input())
PI = math.pi
men = (r**2) * PI
sen = (r * 2) * PI
print('%.6f %.6f' % (men,sen)) |
s614529702 | p02400 | u791170614 | 1461526638 | Python | Python3 | py | Runtime Error | 0 | 0 | 109 | import math
r = int(input())
PI = math.pi
men = (r**2) * PI
sen = (r + r) * PI
print('%.6f %.6f' % (men,sen)) |
s288420508 | p02400 | u791170614 | 1461529694 | Python | Python3 | py | Runtime Error | 0 | 0 | 106 | import math
PI = math.pi
r = int(input())
men = r**2 * PI
sen = r*2 * PI
print('%.6f %.6f' % (men, sen)) |
s973517558 | p02400 | u791170614 | 1461529726 | Python | Python | py | Runtime Error | 0 | 0 | 110 | import math
PI = math.pi
r = int(row_input())
men = r**2 * PI
sen = r*2 * PI
print('%.6f %.6f' % (men, sen)) |
s429586361 | p02400 | u791170614 | 1461529933 | Python | Python3 | py | Runtime Error | 0 | 0 | 105 | import math
PI = math.pi
r = int(input())
men = r*r * PI
sen = r*2 * PI
print('%.6f %.6f' % (men, sen)) |
s616443099 | p02400 | u617990214 | 1462015099 | Python | Python | py | Runtime Error | 0 | 0 | 98 | from math import *
m=1000000
r_=m*float(input())
S=(pi*r_**2)/(m**2)
l=(2*pi*r)/m
print S,
print l |
s507166157 | p02400 | u617990214 | 1462016353 | Python | Python | py | Runtime Error | 0 | 0 | 103 | pi=3.14159265358979324
m=2**1000
r_=m*float(input())
S=(pi*r_**2)/(m**2)
l=(2*pi*r_)/m
print S,
print l |
s201743968 | p02400 | u525685480 | 1462346050 | Python | Python3 | py | Runtime Error | 0 | 0 | 104 | # -*- coding:utf-8 -*-
import math
r = int(input())
print("{0:f} {1:f}".format(r*r*math.pi,2*r*math.pi)) |
s256596161 | p02400 | u074121480 | 1462685689 | Python | Python3 | py | Runtime Error | 0 | 0 | 97 | import sys
import math
r = int(sys.stdin.readline())
print("%f %f" % (r*r*math.pi, r*2*math.pi)) |
s542594638 | p02400 | u216235239 | 1463874338 | Python | Python3 | py | Runtime Error | 0 | 0 | 69 | import math
x = int(input())
print(x * 2 * math.pi, x ** 2 * math.pi) |
s264385236 | p02400 | u070968430 | 1464673557 | Python | Python3 | py | Runtime Error | 0 | 0 | 137 | import math
r = int(input())
S = r * r * math.pi
C = r * 2 * math.pi
print("{0:02.6f}".format(S), end =" ")
print("{0:02.6f}".format(C)) |
s732592267 | p02400 | u454259029 | 1464788983 | Python | Python3 | py | Runtime Error | 0 | 0 | 64 | import math
r = int(input())
print(r**2*math.pi," ",r*2*math.pi) |
s624166469 | p02400 | u454259029 | 1464789020 | Python | Python3 | py | Runtime Error | 0 | 0 | 60 | import math
r = int(input())
print(r**2*math.pi,r*2*math.pi) |
s624624116 | p02400 | u454259029 | 1464789078 | Python | Python3 | py | Runtime Error | 0 | 0 | 60 | import math
r = int(input())
print(r**2*math.pi,r*2*math.pi) |
s380784610 | p02400 | u444997287 | 1465462994 | Python | Python3 | py | Runtime Error | 0 | 0 | 87 | pi = 3.141592653589793
r = int(input())
print('{0:f} {1:f}'.format(r*r*pi, 2 * r * pi)) |
s766750490 | p02400 | u427088273 | 1465633727 | Python | Python3 | py | Runtime Error | 0 | 0 | 72 | import math
r = int(input())
print("%f %f" % (r*r*math.pi,2*r*math.pi)) |
s170427769 | p02400 | u203261375 | 1466123158 | Python | Python3 | py | Runtime Error | 0 | 0 | 61 | import math
r = int(input())
print(r**2*math.pi, 2*r*math.pi) |
s261787199 | p02400 | u203261375 | 1466123316 | Python | Python3 | py | Runtime Error | 0 | 0 | 60 | import math
r = int(input())
print(r*r*math.pi, 2*r*math.pi) |
s509822733 | p02400 | u756468156 | 1466499424 | Python | Python3 | py | Runtime Error | 0 | 0 | 69 | import math
r = int(input())
print(r ** 2 * math.pi, 2 * r * math.pi) |
s828107361 | p02400 | u756468156 | 1466499752 | Python | Python3 | py | Runtime Error | 0 | 0 | 118 |
import math
r = int(input())
area = r ** 2 * math.pi
circum = 2 * r * math.pi
print("{:f} {:f}".format(area, circum)) |
s492146724 | p02400 | u756468156 | 1466499930 | Python | Python3 | py | Runtime Error | 0 | 0 | 116 | import math
r = int(input())
area = r * r * math.pi
circum = 2 * r * math.pi
print("{:f} {:f}".format(area, circum)) |
s854227608 | p02400 | u514853553 | 1467034367 | Python | Python3 | py | Runtime Error | 0 | 0 | 101 | a=list(map(int,input().split()))
string=str(a[0]**2*3.141592)+" "+str(2*3.141592*a[0])
print(string) |
s823555268 | p02400 | u391228754 | 1467152926 | Python | Python3 | py | Runtime Error | 0 | 0 | 106 | import math
a = int(input())
d = a * a * math.pi
r = 2 * a * math.pi
print("{0:.6f} {1:.6f}".format(d, r)) |
s250144852 | p02400 | u391228754 | 1467153069 | Python | Python3 | py | Runtime Error | 0 | 0 | 126 | import math
a = int(input())
d = a * a * round(math.pi, 6)
r = 2 * a * round(math.pi, 6)
print("{0:.6f} {1:.6f}".format(d, r)) |
s403276672 | p02400 | u886766186 | 1467333264 | Python | Python3 | py | Runtime Error | 0 | 0 | 77 | from math import pi
r = int(input())
print("{} {}".format(pi*(r**2), 2*pi*r)) |
s249120569 | p02400 | u340901659 | 1468027993 | Python | Python3 | py | Runtime Error | 0 | 0 | 60 | import math
r = int(input())
print(math.pi*r*r, 2*math.pi*r) |
s117713265 | p02400 | u886766186 | 1468713718 | Python | Python3 | py | Runtime Error | 0 | 0 | 83 | from math import pi
r = input()
print("{:.10f} {:.10f}".format(pi*(r**2), 2*pi*r)) |
s576571436 | p02400 | u886766186 | 1468713848 | Python | Python3 | py | Runtime Error | 0 | 0 | 83 | from math import pi
r = input()
print("{:.10f} {:.10f}".format(pi*(r**2), 2*pi*r)) |
s619292019 | p02400 | u886766186 | 1468713897 | Python | Python3 | py | Runtime Error | 0 | 0 | 88 | from math import pi
r = int(input())
print("{:.10f} {:.10f}".format(pi*(r**2), 2*pi*r)) |
s338333429 | p02400 | u626838615 | 1469221157 | Python | Python3 | py | Runtime Error | 0 | 0 | 98 | import math
r = int(input())
c = math.pi*r**2
s = 2*math.pi*r
print("{0:.7f} {1:.7f}".format(c,s)) |
s300297788 | p02400 | u626838615 | 1469221268 | Python | Python3 | py | Runtime Error | 0 | 0 | 96 | pi = 3.141592653589
r = int(input())
c = pi*r**2
s = 2*pi*r
print("{0:.7f} {1:.7f}".format(c,s)) |
s516082029 | p02400 | u896025703 | 1469354984 | Python | Python3 | py | Runtime Error | 0 | 0 | 96 | import math
r = int(input())
print("{:.6f} {:.6f}\n".format(math.pi * r ** 2, 2 * math.pi * r)) |
s857588899 | p02400 | u853165039 | 1469529480 | Python | Python3 | py | Runtime Error | 0 | 0 | 85 | import math
r = int(input())
print("%.6f %.6f" % (math.pi * (r**2), 2 * math.pi * r)) |
s742638480 | p02400 | u204883389 | 1469598965 | Python | Python3 | py | Runtime Error | 0 | 0 | 163 | import math
def main():
r = [int(i) for i in input().strip()]
print ("%f %f" % (r ** 2 * math.pi, 2 * r * math.pi))
if __name__ == '__main__':
main() |
s192515758 | p02400 | u204883389 | 1469599073 | Python | Python3 | py | Runtime Error | 0 | 0 | 169 | import math
def main():
r = float [int(i) for i in input().sprit()]
print ("%f %f" % (r ** 2 * math.pi, 2 * r * math.pi))
if __name__ == '__main__':
main() |
s478950817 | p02400 | u204883389 | 1469599202 | Python | Python3 | py | Runtime Error | 0 | 0 | 168 | import math
def main():
r = float[int(i) for i in input().sprit()]
print ("%f %f" % (r ** 2 * math.pi, 2 * r * math.pi))
if __name__ == '__main__':
main() |
s138193471 | p02400 | u204883389 | 1469599662 | Python | Python3 | py | Runtime Error | 0 | 0 | 163 | import math
def main():
r = [int(i) for i in input().sprit()]
print ("%f %f" % (r ** 2 * math.pi, 2 * r * math.pi))
if __name__ == '__main__':
main() |
s849880720 | p02400 | u204883389 | 1469599705 | Python | Python3 | py | Runtime Error | 0 | 0 | 163 | import math
def main():
r = [int(i) for i in input().sprit()]
print ("%f %f" % (r ** 2 * math.pi, 2 * r * math.pi))
if __name__ == '__main__':
main() |
s726397059 | p02400 | u757827098 | 1469600241 | Python | Python3 | py | Runtime Error | 0 | 0 | 107 | r =[int(i) for i in input().split()]
s = r * r *3.14
l = 2 * r *3.14
print("{0:.5f},{1:.5f}".format(s,l)) |
s006670519 | p02400 | u369313788 | 1469600298 | Python | Python3 | py | Runtime Error | 0 | 0 | 71 | r = int(input())
c = r * r *3.141592653589
print("{0:.6f}".format(c)) |
s686614007 | p02400 | u757827098 | 1469600353 | Python | Python3 | py | Runtime Error | 0 | 0 | 130 | import math.pi from math
r =[int(i) for i in input().split()]
s = r * r *pi
l = 2 * r *pi
print("{0:.5f},{1:.5f}".format(s,l)) |
s646308534 | p02400 | u369313788 | 1469600363 | Python | Python3 | py | Runtime Error | 0 | 0 | 86 | r = int(input())
c = r * r *3.141592653589
a = ("{0:.5f}".format(c))
print((a),(a)) |
s013389355 | p02400 | u369313788 | 1469600371 | Python | Python3 | py | Runtime Error | 0 | 0 | 86 | r = int(input())
c = r * r *3.141592653589
a = ("{0:.6f}".format(c))
print((a),(a)) |
s764969887 | p02400 | u369313788 | 1469600379 | Python | Python3 | py | Runtime Error | 0 | 0 | 86 | r = int(input())
c = r * r *3.141592653589
a = ("{0:.6f}".format(c))
print((a),(a)) |
s878211582 | p02400 | u757827098 | 1469600404 | Python | Python3 | py | Runtime Error | 0 | 0 | 117 | import math
r =[int(i) for i in input().split()]
s = r * r *pi
l = 2 * r *pi
print("{0:.5f},{1:.5f}".format(s,l)) |
s549432319 | p02400 | u757827098 | 1469600478 | Python | Python3 | py | Runtime Error | 0 | 0 | 100 | import math
r =float(input())
s = r * r * pi
l = 2 * r * pi
print("{0:.5f},{1:.5f}".format(s,l)) |
s266992657 | p02400 | u085472528 | 1469600606 | Python | Python3 | py | Runtime Error | 0 | 0 | 109 | import math
r = float[input()]
s = r * r * math.pi
l = r * 2 * math.pi
print("{0:.5f} {1:5f}".format(s, l)) |
s022870913 | p02400 | u644636020 | 1469600612 | Python | Python3 | py | Runtime Error | 0 | 0 | 110 | import math
r = float(input())
s = r * r * math.pi
a = r * 2 * math.pi
print("{0:.5f} {1:.5f}".format(s, l)) |
s999128153 | p02400 | u628732336 | 1469600619 | Python | Python3 | py | Runtime Error | 0 | 0 | 109 | import math
r = float(input())
s = r * r * math.pi
l = r * 2 * math.pi
print("{0:.5f} {1:.5f}"format(s, l)) |
s562790715 | p02400 | u661284763 | 1469600658 | Python | Python3 | py | Runtime Error | 0 | 0 | 96 | r = float(input())
s = r * r * math.pi
l = r * 2 * math.pi
print("{0:.5f}{1:.5f}"format(s, l)) |
s878909283 | p02400 | u498041957 | 1469600717 | Python | Python3 | py | Runtime Error | 0 | 0 | 96 | r = float(input())
s = r * r * math.pi
l = r * 2 * math.pi
print("{0:5f}{1:.5f}".format(s, l)) |
s997129142 | p02400 | u498041957 | 1469600797 | Python | Python3 | py | Runtime Error | 0 | 0 | 88 | r = float(input())
s = r * r * math.pi
l = r * 2 * math.pi
print('%.5f %.5f' % (s, l)) |
s769275634 | p02400 | u587193722 | 1469602261 | Python | Python3 | py | Runtime Error | 0 | 0 | 82 | import math
r = float(input())
a = r * r* math.pi()
b = 2r *math.pi()
print( a, b) |
s227313862 | p02400 | u510829608 | 1469707587 | Python | Python3 | py | Runtime Error | 0 | 0 | 94 | import math
r = int(input())
print("{0:.6f} {1:.6f}".format(math.pi * r ** 2, 2* math.pi * r)) |
s240170795 | p02400 | u554198876 | 1469802564 | Python | Python3 | py | Runtime Error | 0 | 0 | 96 | from math import pi
r = int(input())
print(format(r * r * pi, '.6f'), format(r * 2 * pi, '.6f')) |
s749656219 | p02400 | u216425054 | 1470718917 | Python | Python3 | py | Runtime Error | 0 | 0 | 67 | import math
C=math.pi
print("{0:.6f} {1:.6f}").format(C*r**2,C*2*r) |
s204145035 | p02400 | u216425054 | 1470718957 | Python | Python3 | py | Runtime Error | 0 | 0 | 84 | import math
r=float(input())
C=math.pi
print("{0:.6f} {1:.6f}").format(C*r**2,C*2*r) |
s641810103 | p02400 | u327125861 | 1471006374 | Python | Python3 | py | Runtime Error | 0 | 0 | 95 | r = int(input())
pi = 3.141592653589
S = r * r * pi
L = 2 * r * pi
print(str(S) + " " + str(L)) |
s249062389 | p02400 | u197204103 | 1471069395 | Python | Python3 | py | Runtime Error | 0 | 0 | 81 | r = int(input())
import math
a = r*r*math.pi
b = r*2*math.pi
print('%s %s'%(a,b)) |
s006293956 | p02400 | u197204103 | 1471069677 | Python | Python3 | py | Runtime Error | 0 | 0 | 91 | r = int(input())
a = r*r*3.1415926535897932
b = r*2*3.1415926535897932
print('%s %s'%(a,b)) |
s941648693 | p02400 | u589886885 | 1471442995 | Python | Python3 | py | Runtime Error | 0 | 0 | 103 | import math
r = int(input())
a = r * r * math.pi
b = r * 2 * math.pi
print('{0:f} {1:f}'.format(a, b)) |
s975528894 | p02400 | u589886885 | 1471443026 | Python | Python3 | py | Runtime Error | 0 | 0 | 103 | import math
r = int(input())
a = r * r * math.pi
b = r * 2 * math.pi
print('{0:f} {1:f}'.format(a, b)) |
s796848721 | p02400 | u677859833 | 1472367513 | Python | Python3 | py | Runtime Error | 0 | 0 | 97 | import math
r = int(input())
print("{0:.10f}".format(r*r*math.pi),"{0:.10f}".format(2*r*math.pi)) |
s008342668 | p02400 | u792783386 | 1473249460 | Python | Python | py | Runtime Error | 0 | 0 | 109 | import math
r = input()
# ??¢???
S = math.pi * r ** 2
# ?????¨
L = math.pi * r * 2
print "%f %f" %(S, L) |
s911145794 | p02400 | u058433718 | 1473853849 | Python | Python3 | py | Runtime Error | 0 | 0 | 146 | import sys
PI = 3.1415926
r = int(sys.stdin.readline().strip())
area = r * r * PI
periphery = r * 2 * PI
print('%.6f %.6f' % (area, periphery)) |
s050860615 | p02400 | u956645355 | 1474277797 | Python | Python3 | py | Runtime Error | 0 | 0 | 99 | import math
r = input()
m = r ** 2 * math.pi
l = r * 2 * math.pi
print('{:6f} {:.6f}'.format(m, l)) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.