Skip to content

Commit 234951b

Browse files
committed
atcoder/abc052A
1 parent dd2a508 commit 234951b

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

atcoder/abc052/A/main.cpp

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#include <bits/stdc++.h>
2+
3+
using namespace std;
4+
using ll = long long;
5+
6+
int main() {
7+
ios_base::sync_with_stdio(false);
8+
cin.tie(0); cout.tie(0);
9+
10+
int A, B, C, D;
11+
cin >> A >> B >> C >> D;
12+
13+
int S = A * B, R = C * D;
14+
if (S > R) {
15+
cout << S << endl;
16+
} else {
17+
cout << R << endl;
18+
}
19+
20+
return 0;
21+
}

0 commit comments

Comments
 (0)