Skip to content

Commit 124c418

Browse files
authored
atcoder solutions in cpp
1 parent 0642858 commit 124c418

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Two Rectangles.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#include <iostream>
2+
#include <cmath>
3+
using namespace std;
4+
5+
int main() {
6+
int a, b, c, d;
7+
cin >> a >> b >> c >> d;
8+
int a1 = (a * b);
9+
int a2 = (c * d);
10+
cout << max(a1, a2) << endl;
11+
return 0;
12+
}

0 commit comments

Comments
 (0)