Submission #4308608


Source Code Expand

Copy
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n,m;
        n = sc.nextInt();
        m = sc.nextInt();
        System.out.println(Math.max(n,m));
    }
}

Submission Info

Submission Time
Task A - 正直者
User valusun
Language Java8 (OpenJDK 1.8.0)
Score 100
Code Size 279 Byte
Status
Exec Time 98 ms
Memory 22996 KB

Test Cases

Set Name Score / Max Score Test Cases
all 100 / 100 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 94 ms 19796 KB
00_sample_02.txt 95 ms 21204 KB
kensho_diff01 96 ms 20812 KB
kensho_diff02 95 ms 18640 KB
kensho_diff03 98 ms 17876 KB
kensho_diff04 96 ms 19668 KB
kensho_diff05 95 ms 18636 KB
kensho_min-max01 95 ms 21716 KB
kensho_min-max02 96 ms 21716 KB
kensho_min-max03 96 ms 21204 KB
kensho_min-max04 94 ms 22740 KB
kensho_min-max05 96 ms 17364 KB
kensho_min-max06 96 ms 21712 KB
kensho_min-max07 94 ms 20676 KB
kensho_min-max08 96 ms 20948 KB
kensho_min-max09 96 ms 21204 KB
kensho_min-max10 96 ms 20688 KB
kensho_rand01 97 ms 20560 KB
kensho_rand02 95 ms 20564 KB
kensho_rand03 98 ms 22996 KB
kensho_rand04 95 ms 21844 KB
kensho_rand05 95 ms 18644 KB
kensho_rand06 97 ms 19284 KB
kensho_rand07 95 ms 20556 KB
kensho_rand08 95 ms 18772 KB
kensho_rand09 95 ms 21204 KB
kensho_rand10 94 ms 21076 KB