JULKA - Julka Editorial SPOJ - UCS - Unleash-Coding-Skills

Thursday, 3 May 2018

JULKA - Julka Editorial SPOJ - UCS

The link for the problem JULKA - Julka is :

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

Prefer Python Language for this problem so that you can avoid Range of Datatype problem so that you can simply apply your knowledge.

The python  solution for the problem JULKA - Julka:


for io in range(0,10):

      a=raw_input()

      b=raw_input()

      a=int(a)

      b=int(b)

      a=a+b

      ans=a/2

      print(ans)

      print(ans-b)

 

Happy Coding...............

No comments:

Post a comment