https://www.acmicpc.net/problem/11006
import sys
input=sys.stdin.readline
n=int(input())
for i in range(n):
a,b=map(int,input().split())
u=b*2-a
print(u, b-u)
'๐ฏ์๊ณ ๋ฆฌ์ฆ > ํ์ด์ฌ ๊ธฐ๋ณธ ์๊ณ ๋ฆฌ์ฆ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[๋ฐฑ์ค/Python] 2839: ์คํ ๋ฐฐ๋ฌ (0) | 2023.07.01 |
---|---|
[๋ฐฑ์ค/Python] 15917:๋ ธ์๋ธ ๋ฐฉ์ง๋ฌธ์ ์ผ!! (0) | 2023.07.01 |
[๋ฐฑ์ค/Python] 10886: 0 = not cute / 1 = cute (0) | 2023.07.01 |
[๋ฐฑ์ค/Python] 20540:์ฐ๊ธธ์ด์ ์ด์ํ (0) | 2023.07.01 |
[Python/BOJ]2010: ํ๋ฌ๊ทธ (0) | 2023.07.01 |