Submission #2206670


Source Code Expand

#include <bits/stdc++.h>
using namespace std;

int main(){
	int A, B, C, D;
	cin >> A >> B >> C >> D;
	if (A*B>C*D) cout << A*B;
	else cout C*D;
}

Submission Info

Submission Time
Task A - Two Rectangles
User spawn
Language C++14 (GCC 5.4.1)
Score 0
Code Size 154 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:8:12: error: expected ‘;’ before ‘C’
  else cout C*D;
            ^