2019多校J Fraction Comparision
登录—专业IT笔试面试备考平台_牛客网
https://ac.nowcoder.com/acm/contest/881/J
用python很容易水过啦,__int128也可以。
while 1: try: x,a,y,b=map(int,input().split()) except: break #print(x,a,y,b) d=x*b-y*a if(d>0): print('>') elif(d==0): print('=') else: print('<')