ABC052A - Two Rectangles
#include <algorithm> #include <iostream> using namespace std; int main(void) { int a, b, c, d; cin.tie(0); ios::sync_with_stdio(false); cin >> a >> b >> c >> d; cout << max(a * b, c * d) << "\n"; return 0; }
#include <algorithm> #include <iostream> using namespace std; int main(void) { int a, b, c, d; cin.tie(0); ios::sync_with_stdio(false); cin >> a >> b >> c >> d; cout << max(a * b, c * d) << "\n"; return 0; }