Submission #1606457


Source Code Expand

import java.util.Scanner;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
    int d = sc.nextInt();
    if(a*b>==c*d){
      System.out.println(a*b);
    }else{
      System.out.println(c*d);
    }
  }
}

Submission Info

Submission Time
Task A - Two Rectangles
User BLOND
Language Java8 (OpenJDK 1.8.0)
Score 0
Code Size 351 Byte
Status CE

Compile Error

./Main.java:10: error: illegal start of expression
    if(a*b>==c*d){
            ^
1 error