본문 바로가기
python-algorithm

[백준] 19532

by 무적김두칠 2021. 1. 19.

1
2
3
4
a,b,c,d,e,f=map(int,input().split())
for x in range(-999,1000):
    for y in range(-999,1000):
        if a*x+b*y==and d*x+e*y==f :print(x,y) ;break
cs
반응형

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

[백준] 19843  (0) 2021.01.19
[백준] 19563  (0) 2021.01.19
[백준] 18795  (0) 2021.01.19
[백준] 18406  (0) 2021.01.19
[백준] 18312  (0) 2021.01.19

댓글