AJ's Code blog
spoj solutions and other codes in python, C , C++
Tuesday, 22 January 2013
8371. TRIANGULAR PRISM Problem code: PRISMSA
i=input
p=pow
for t in range(i()):
v=i()
a=p(4*v,1.0/3)
print 3*a*a*p(3,1/2.0)/2
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment