python-algorithm
[백준] 19532
무적김두칠
2021. 1. 19. 09:46
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==c and d*x+e*y==f :print(x,y) ;break
|
cs |
반응형