Submission #1064836


Source Code Expand

Copy
#include <bits/stdc++.h>
using namespace std;
#define Rep(i,N) for(int i = 0; i < N; i++)
int main()
{
  int A, B, C, D;
  cin >> A >> B >> C >> D;
  cout << min(A * B, C * D) << endl;
  return 0;
}

Submission Info

Submission Time
Task A - Two Rectangles
User tinumukiti631
Language C++14 (GCC 5.4.1)
Score 0
Code Size 207 Byte
Status
Exec Time 3 ms
Memory 256 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample_01.txt, sample_02.txt
All 0 / 100 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 3 ms 256 KB
sample_02.txt 3 ms 256 KB
subtask_1_abmax_01.txt 3 ms 256 KB
subtask_1_allmax_01.txt 3 ms 256 KB
subtask_1_cdmax_01.txt 3 ms 256 KB
subtask_1_rand_01.txt 3 ms 256 KB
subtask_1_rand_02.txt 3 ms 256 KB
subtask_1_rand_03.txt 2 ms 256 KB
subtask_1_same_01.txt 3 ms 256 KB
subtask_1_same_02.txt 3 ms 256 KB