Submission #614668


Source Code Expand

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main{
	public static void main(String[] args) {

try{
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in),1);//入力準備
	String[] array=new String[2];
	String s = br.readLine();//string読み込み
	array= s.split(" ");
	int[] intArray = new int[2];
	intArray[0] = Integer.parseInt(array[0]);
	intArray[1] = Integer.parseInt(array[1]);

	if(intArray[0] < intArray[1]){
		System.out.println(array[1]);
	}else{
		System.out.println(array[0]);
	}

	br.close();


}catch(IOException e){
	e.printStackTrace();
}
	}
}

Submission Info

Submission Time
Task A - 正直者
User yhn1016
Language Java (OpenJDK 1.7.0)
Score 100
Code Size 667 Byte
Status AC
Exec Time 467 ms
Memory 20700 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 467 ms 20400 KB
00_sample_02.txt AC 302 ms 20632 KB
kensho_diff01 AC 295 ms 20580 KB
kensho_diff02 AC 298 ms 20536 KB
kensho_diff03 AC 297 ms 20528 KB
kensho_diff04 AC 298 ms 20580 KB
kensho_diff05 AC 306 ms 20532 KB
kensho_min-max01 AC 361 ms 20700 KB
kensho_min-max02 AC 346 ms 20596 KB
kensho_min-max03 AC 329 ms 20640 KB
kensho_min-max04 AC 324 ms 20596 KB
kensho_min-max05 AC 309 ms 20624 KB
kensho_min-max06 AC 309 ms 20552 KB
kensho_min-max07 AC 301 ms 20520 KB
kensho_min-max08 AC 306 ms 20616 KB
kensho_min-max09 AC 297 ms 20636 KB
kensho_min-max10 AC 304 ms 20512 KB
kensho_rand01 AC 313 ms 20632 KB
kensho_rand02 AC 315 ms 20620 KB
kensho_rand03 AC 319 ms 20584 KB
kensho_rand04 AC 313 ms 20588 KB
kensho_rand05 AC 299 ms 20584 KB
kensho_rand06 AC 302 ms 20576 KB
kensho_rand07 AC 296 ms 20520 KB
kensho_rand08 AC 304 ms 20560 KB
kensho_rand09 AC 299 ms 20584 KB
kensho_rand10 AC 300 ms 20588 KB