Submission #698953


Source Code Expand

import java.util.*;

public class Main {
    Scanner sc = new Scanner(System.in);

    public static void main(String[] args) {
        new Main().solve();
    }

    void solve() {
        System.out.println((sc.nextInt() + sc.nextInt()) % 7 == 0 ? "4:3" : "16:9");
    }
}

Submission Info

Submission Time
Task A - テレビ
User moomin
Language Java8 (OpenJDK 1.8.0)
Score 100
Code Size 288 Byte
Status AC
Exec Time 207 ms
Memory 9556 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 25
Set Name Test Cases
Sample example_01.txt, example_02.txt, example_03.txt
All 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 AC 200 ms 9292 KiB
16_9_02.txt AC 192 ms 9424 KiB
16_9_03.txt AC 193 ms 9420 KiB
16_9_04.txt AC 196 ms 9300 KiB
16_9_05.txt AC 192 ms 9300 KiB
16_9_06.txt AC 196 ms 9424 KiB
16_9_07.txt AC 207 ms 9556 KiB
16_9_08.txt AC 200 ms 9296 KiB
16_9_09.txt AC 196 ms 9288 KiB
16_9_10.txt AC 192 ms 9428 KiB
16_9_max.txt AC 191 ms 9428 KiB
4_3_01.txt AC 188 ms 9424 KiB
4_3_02.txt AC 192 ms 9300 KiB
4_3_03.txt AC 196 ms 9420 KiB
4_3_04.txt AC 196 ms 9552 KiB
4_3_05.txt AC 200 ms 9296 KiB
4_3_06.txt AC 203 ms 9424 KiB
4_3_07.txt AC 199 ms 9428 KiB
4_3_08.txt AC 191 ms 9292 KiB
4_3_09.txt AC 207 ms 9296 KiB
4_3_10.txt AC 196 ms 9428 KiB
4_3_max.txt AC 199 ms 9424 KiB
example_01.txt AC 192 ms 9424 KiB
example_02.txt AC 199 ms 9428 KiB
example_03.txt AC 200 ms 9424 KiB