Submission #1316900


Source Code Expand

#include <iostream>
using namespace std;

int main() {
	// your code goes here
	long long int a,b,c,d;
	long long int ans;
	
	cin>>a>>b>>c>>d;
	
	if((a*b) > (c*d))
	    cout<<a*b;
	else
	    cout<<c*d;
	
	return 0;
}

Submission Info

Submission Time
Task A - Two Rectangles
User I_am_L
Language C++14 (GCC 5.4.1)
Score 100
Code Size 234 Byte
Status AC
Exec Time 1 ms
Memory 256 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 10
Set Name Test Cases
Sample sample_01.txt, sample_02.txt
All sample_01.txt, sample_02.txt, subtask_1_abmax_01.txt, subtask_1_allmax_01.txt, subtask_1_cdmax_01.txt, subtask_1_rand_01.txt, subtask_1_rand_02.txt, subtask_1_rand_03.txt, subtask_1_same_01.txt, subtask_1_same_02.txt
Case Name Status Exec Time Memory
sample_01.txt AC 1 ms 256 KB
sample_02.txt AC 1 ms 256 KB
subtask_1_abmax_01.txt AC 1 ms 256 KB
subtask_1_allmax_01.txt AC 1 ms 256 KB
subtask_1_cdmax_01.txt AC 1 ms 256 KB
subtask_1_rand_01.txt AC 1 ms 256 KB
subtask_1_rand_02.txt AC 1 ms 256 KB
subtask_1_rand_03.txt AC 1 ms 256 KB
subtask_1_same_01.txt AC 1 ms 256 KB
subtask_1_same_02.txt AC 1 ms 256 KB