Submission #161442

#TimeUsernameProblemLanguageResultExecution timeMemory
161442boolodifjenulaKošnja (COCI17_kosnja)Cpython 3
50 / 50
247 ms6400 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...