Submission #2228373


Source Code Expand

#include <iostream>
using namespace std;

int main(){
  int a,b,c,d;
  cin >> a >> b >> c >> d;
  cout << (a*b>c*d)?a*b:c*d << endl;

  return 0;
}

Submission Info

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

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:7:32: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator<<’
   cout << (a*b>c*d)?a*b:c*d << endl;
                                ^