# |
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 |
|
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))
Click to see test details