Submission #7045278


Source Code Expand

Copy
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();
		sc.close();

		String strOut = Integer.toString(Integer.max(X, Y));
		System.out.println(strOut);
	}
}

Submission Info

Submission Time
Task A - 正直者
User ste234689ado
Language Java8 (OpenJDK 1.8.0)
Score 100
Code Size 294 Byte
Status
Exec Time 99 ms
Memory 23252 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 91 ms 19924 KB
00_sample_02.txt 92 ms 18896 KB
kensho_diff01 92 ms 18516 KB
kensho_diff02 93 ms 18772 KB
kensho_diff03 92 ms 18516 KB
kensho_diff04 91 ms 21716 KB
kensho_diff05 94 ms 21332 KB
kensho_min-max01 97 ms 21332 KB
kensho_min-max02 94 ms 23124 KB
kensho_min-max03 99 ms 16852 KB
kensho_min-max04 92 ms 19796 KB
kensho_min-max05 94 ms 21844 KB
kensho_min-max06 93 ms 19668 KB
kensho_min-max07 92 ms 21844 KB
kensho_min-max08 93 ms 18900 KB
kensho_min-max09 94 ms 23252 KB
kensho_min-max10 92 ms 19540 KB
kensho_rand01 92 ms 17364 KB
kensho_rand02 97 ms 18516 KB
kensho_rand03 92 ms 19796 KB
kensho_rand04 94 ms 23124 KB
kensho_rand05 96 ms 19284 KB
kensho_rand06 93 ms 19540 KB
kensho_rand07 95 ms 21712 KB
kensho_rand08 93 ms 21716 KB
kensho_rand09 91 ms 21844 KB
kensho_rand10 93 ms 19028 KB