https://www.acmicpc.net/problem/1735 #include #define endl "\n"using namespace std;void CPP_INIT() { ios::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);}int main(void) { CPP_INIT(); int n, m, x, y; int mo, ja; cin >> n >> m >> x >> y; mo = m * y; ja = (n * y) + (m * x); if (mo > ja) { for (int i = 2; i