JULKA spoj Solution - Correct, Optimal and Working

t = 10
while t :
 t -= 1
 x = int( raw_input( ) )
 y = int( raw_input( ) )
 z = ( x + y ) / 2
 print z
 z = x - z
 print z

470+ Solutions to various Programming Questions

Subscribe to my weekley newsletter