Thursday, May 23, 2013

6297. Decipher

http://www.spoj.com/problems/ROOTCIPH/

Code

 t=int(input())
for i in range(t):
    s=raw_input()
    str=s.split(' ')
    a=int(str[0])
    b=int(str[1])
    c=int(str[2])
    print(a*a-2*b)


No comments:

Post a Comment