?
# | Author | Problem | Lang | Verdict | Time | Memory | Sent | Judged | |
---|---|---|---|---|---|---|---|---|---|
172371902 |
Practice: Shrikant_07 |
1715A - 37 | PyPy 3-64 | Accepted | 124 ms | 3732 KB | 2022-09-16 19:23:59 | 2022-09-16 19:23:59 |
t=int(input()) for _ in range(0,t): n,m=map(int,input().split()) print((n+m-3)+min(n,m)+min(max(n,m)-1,1))
?
?
?
?