Submission #110686


Source Code Expand

import java.util.ArrayList;
import java.util.Scanner;

public class Main {

	Scanner sc = new Scanner(System.in);
	public void run() {
		int x = sc.nextInt();
			int y = sc.nextInt();
			calc(x, y);
			
	}
	public void calc(int x, int y){
		if(x > y) System.out.println(x);
		else System.out.println(y);
	}

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

Submission Info

Submission Time
Task A - 正直者
User wapiko
Language Java (OpenJDK 1.7.0)
Score 100
Code Size 397 Byte
Status AC
Exec Time 572 ms
Memory 23232 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 572 ms 23220 KB
00_sample_02.txt AC 516 ms 23184 KB
kensho_diff01 AC 505 ms 23216 KB
kensho_diff02 AC 511 ms 23216 KB
kensho_diff03 AC 500 ms 23220 KB
kensho_diff04 AC 510 ms 23220 KB
kensho_diff05 AC 501 ms 23092 KB
kensho_min-max01 AC 512 ms 23092 KB
kensho_min-max02 AC 501 ms 23232 KB
kensho_min-max03 AC 525 ms 23216 KB
kensho_min-max04 AC 511 ms 23216 KB
kensho_min-max05 AC 508 ms 23216 KB
kensho_min-max06 AC 517 ms 23224 KB
kensho_min-max07 AC 529 ms 23212 KB
kensho_min-max08 AC 521 ms 23096 KB
kensho_min-max09 AC 534 ms 23212 KB
kensho_min-max10 AC 532 ms 23092 KB
kensho_rand01 AC 516 ms 23188 KB
kensho_rand02 AC 507 ms 23092 KB
kensho_rand03 AC 514 ms 23084 KB
kensho_rand04 AC 515 ms 23220 KB
kensho_rand05 AC 501 ms 23212 KB
kensho_rand06 AC 517 ms 23088 KB
kensho_rand07 AC 521 ms 23092 KB
kensho_rand08 AC 501 ms 23080 KB
kensho_rand09 AC 511 ms 23220 KB
kensho_rand10 AC 508 ms 23100 KB