Please come to current year’s threads about codevita results. This thread is about codevita 2019
NOPE DUDE!!
This is a very nice one and gives in-depth information about CCNA. I am really happy with the quality and presentation of the article. I’d really like to appreciate the efforts you get with writing this post. Thanks for sharing.
This is a very nice one and gives in-depth information about ccna. I am really happy with the quality and presentation of the article. I’d really like to appreciate the efforts you get with writing this post. Thanks for sharing.
T=int(input())
res=[]
temp=[]
for i in range(T):
a,b = input().split()
if(int(a)>int(b)):
res.append([1,int(a)-int(b)])
else:
res.append([2,int(b)-int(a)])
#print(res)
for i in range(len(res)):
temp.append(res[i][1])
for i in range(len(temp)):
if res[i][1]==max(temp):
print(res[i][0], res[i][1] )
why this code is wrong