Submission #3102277


Source Code Expand

import java.util.Scanner;

public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int X = sc.nextInt();
        int Y = sc.nextInt();
        int Z;
        if (X > Y){
            Z = X;
        }else {
            Z = Y;
        }
        System.out.println(Z);
    }
}

Submission Info

Submission Time
Task A - 正直者
User topaz13
Language Java8 (OpenJDK 1.8.0)
Score 100
Code Size 348 Byte
Status AC
Exec Time 96 ms
Memory 23252 KB

Judge Result

Set Name all
Score / Max Score 100 / 100
Status
AC × 27
Set Name Test Cases
all 00_sample_01.txt, 00_sample_02.txt, kensho_diff01, kensho_diff02, kensho_diff03, kensho_diff04, kensho_diff05, kensho_min-max01, kensho_min-max02, kensho_min-max03, kensho_min-max04, kensho_min-max05, kensho_min-max06, kensho_min-max07, kensho_min-max08, kensho_min-max09, kensho_min-max10, kensho_rand01, kensho_rand02, kensho_rand03, kensho_rand04, kensho_rand05, kensho_rand06, kensho_rand07, kensho_rand08, kensho_rand09, kensho_rand10
Case Name Status Exec Time Memory
00_sample_01.txt AC 93 ms 21204 KB
00_sample_02.txt AC 94 ms 18640 KB
kensho_diff01 AC 94 ms 21844 KB
kensho_diff02 AC 93 ms 21844 KB
kensho_diff03 AC 95 ms 23252 KB
kensho_diff04 AC 93 ms 20692 KB
kensho_diff05 AC 95 ms 19284 KB
kensho_min-max01 AC 94 ms 19796 KB
kensho_min-max02 AC 95 ms 21844 KB
kensho_min-max03 AC 94 ms 21204 KB
kensho_min-max04 AC 95 ms 20820 KB
kensho_min-max05 AC 96 ms 22612 KB
kensho_min-max06 AC 93 ms 21844 KB
kensho_min-max07 AC 95 ms 20948 KB
kensho_min-max08 AC 94 ms 20564 KB
kensho_min-max09 AC 94 ms 20948 KB
kensho_min-max10 AC 93 ms 19412 KB
kensho_rand01 AC 93 ms 19156 KB
kensho_rand02 AC 94 ms 18640 KB
kensho_rand03 AC 95 ms 21588 KB
kensho_rand04 AC 96 ms 21204 KB
kensho_rand05 AC 95 ms 18772 KB
kensho_rand06 AC 95 ms 21204 KB
kensho_rand07 AC 94 ms 19792 KB
kensho_rand08 AC 94 ms 21844 KB
kensho_rand09 AC 96 ms 21588 KB
kensho_rand10 AC 95 ms 20556 KB