# |
Author |
Problem |
Lang |
Verdict |
Time |
Memory |
Sent |
Judged |
|
169337062 |
Practice:
WDITzjt |
1715A
- 37
|
Python 3
|
Accepted
|
46 ms
|
0 KB
|
2022-08-22 16:18:38 |
2022-08-22 16:18:38 |
|
for s in[*open(0)][1:]:n,m=sorted(map(int,s.split()));print(2*n+m-3+(m>1))
Click to see test details