본문 바로가기
python-algorithm

[백준] 11006

by 무적김두칠 2020. 12. 28.

1
2
3
4
import sys
for _ in range(int(sys.stdin.readline())):
    a,b=map(int, sys.stdin.readline().split())
    print(b*2-a, b-(b*2-a))
cs
반응형

'python-algorithm' 카테고리의 다른 글

[백준] 11024  (0) 2020.12.29
[백준] 11023  (0) 2020.12.29
[백준] 10992  (0) 2020.12.28
[백준] 10991  (0) 2020.12.28
[백준] 10990  (0) 2020.12.28

댓글