Submission #797066

#TimeUsernameProblemLanguageResultExecution timeMemory
797066Trisanu_DasKošnja (COCI17_kosnja)Pypy 3
50 / 50
149 ms27564 KiB
n=int(input()) L=[] for i in range(n): x,y=map(int,input().split()) L+=[x<y and 2*(x-1) or x>=y and 2*(y-1) or 0] for i in range(n): print(L[i])
#Verdict Execution timeMemoryGrader output
Fetching results...