General
 
 
# Author Problem Lang Verdict Time Memory Sent Judged  
169094557 Contestant:
nya
1715A - 37 PyPy 3-64 Accepted 139 ms 4264 KB 2022-08-20 17:41:29 2022-08-20 20:06:18
→ Source
I=lambda:[*map(int, input().split())]
for _ in range(*I()):
    a,b=I()
    a-=1;b-=1
    print(a+b+min(a+b,min(a,b)+1))
?
Time: ? ms, memory: ? KB
Verdict: ?
Input
?
Participant's output
?
Jury's answer
?
Checker comment
?
Diagnostics
?
Click to see test details