TRIANGULAR PRISM
given below python code for PRISMSA spoj or TRIANGULAR PRISM spoj
import sys,math t=int(sys.stdin.readline()) while t>0: V=int(sys.stdin.readline()) p=0.66666666666666662965923251249478198587894439697265625 S=(math.sqrt(27)/2)*((4*V)**p) print('%.10f\n'%S) t-=1
No comments:
Post a Comment
Your comment is valuable to us