← Back to List

15128번: Congruent Numbers ↗

Solutions

Python 3
70 B | 70 chars
a,b,c,d=map(int,input().split())
print(1 if a*c % (b*d*2) == 0 else 0)