AJ's Code blog
spoj solutions and other codes in python, C , C++
Wednesday, 30 January 2013
11932. Amz Rock Problem code: AMZRCK
p=5**.5;f=lambda n:((1+p)**n-(1-p)**n)/(2**n*p)
i=input
for j in range(i()):
print int(f(i()+2))
Newer Posts
Older Posts
Home
Subscribe to:
Comments (Atom)