题意:

输入x, a, y, b, 求  和    的大小比较

题目链接:

https://ac.nowcoder.com/acm/contest/881/J

题解:

AC_code:

#include<bits/stdc++.h>
using namespace std;
#define ll long long
 
int main() {
    ll x, y, a, b;
    while(cin>>x>>a>>y>>b) {
        ll xx = x/a;
        ll yy = y/b;
        if(xx > yy) {
            puts(">");
        }   else if(xx < yy) {
            puts("<");
        } else {
            xx = x % a * b;
            yy = y % b * a;
            if(xx > yy) {
                puts(">");
            }   else if(xx < yy) {
                puts("<");
            }else {
                puts("=");
            }
        }
    }
}