Submission #674060


Source Code Expand

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

int main()
{
  int W, H;
  cin >> W >> H;
  if(W * 3 == H * 4) cout << "4:3" << endl;
  else cout << "16:9" << endl;
}

Submission Info

Submission Time
Task A - テレビ
User ei13333
Language C++ (GCC 4.9.2)
Score 100
Code Size 175 Byte
Status
Exec Time 36 ms
Memory 1108 KB

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 example_01.txt, example_02.txt, example_03.txt
All 100 / 100 16_9_01.txt, 16_9_02.txt, 16_9_03.txt, 16_9_04.txt, 16_9_05.txt, 16_9_06.txt, 16_9_07.txt, 16_9_08.txt, 16_9_09.txt, 16_9_10.txt, 16_9_max.txt, 4_3_01.txt, 4_3_02.txt, 4_3_03.txt, 4_3_04.txt, 4_3_05.txt, 4_3_06.txt, 4_3_07.txt, 4_3_08.txt, 4_3_09.txt, 4_3_10.txt, 4_3_max.txt, example_01.txt, example_02.txt, example_03.txt
Case Name Status Exec Time Memory
16_9_01.txt 29 ms 960 KB
16_9_02.txt 27 ms 1024 KB
16_9_03.txt 29 ms 1028 KB
16_9_04.txt 28 ms 1108 KB
16_9_05.txt 27 ms 1024 KB
16_9_06.txt 28 ms 1016 KB
16_9_07.txt 28 ms 960 KB
16_9_08.txt 27 ms 900 KB
16_9_09.txt 28 ms 812 KB
16_9_10.txt 27 ms 892 KB
16_9_max.txt 28 ms 1024 KB
4_3_01.txt 28 ms 896 KB
4_3_02.txt 27 ms 960 KB
4_3_03.txt 27 ms 956 KB
4_3_04.txt 28 ms 840 KB
4_3_05.txt 29 ms 900 KB
4_3_06.txt 27 ms 1060 KB
4_3_07.txt 29 ms 856 KB
4_3_08.txt 29 ms 820 KB
4_3_09.txt 36 ms 888 KB
4_3_10.txt 29 ms 832 KB
4_3_max.txt 31 ms 832 KB
example_01.txt 29 ms 836 KB
example_02.txt 27 ms 832 KB
example_03.txt 28 ms 952 KB