Submission #111049


Source Code Expand

package abc002;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class Main {
	public static void main(String[] args) throws IOException {
		int x  = 0;
		int y  = 0;
		
		try (BufferedReader br = new BufferedReader(
				new InputStreamReader(System.in))) {
			Matcher m = Pattern.compile("^(\\d+) (\\d+)$").matcher(br.readLine());
			if (m.find()) {
				x = Integer.parseInt(m.group(1));
				y = Integer.parseInt(m.group(2));
				
				if (x > y)
					System.out.println(x);
				else
					System.out.println(y);
			}
		}
	}
}

Submission Info

Submission Time
Task A - 正直者
User hosono
Language Java (OpenJDK 1.7.0)
Score 0
Code Size 671 Byte
Status RE
Exec Time 501 ms
Memory 20656 KB

Judge Result

Set Name all
Score / Max Score 0 / 100
Status
RE × 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 RE 501 ms 20528 KB
00_sample_02.txt RE 420 ms 20576 KB
kensho_diff01 RE 439 ms 20532 KB
kensho_diff02 RE 438 ms 20532 KB
kensho_diff03 RE 442 ms 20528 KB
kensho_diff04 RE 465 ms 20652 KB
kensho_diff05 RE 430 ms 20532 KB
kensho_min-max01 RE 455 ms 20652 KB
kensho_min-max02 RE 447 ms 20528 KB
kensho_min-max03 RE 441 ms 20648 KB
kensho_min-max04 RE 455 ms 20524 KB
kensho_min-max05 RE 443 ms 20524 KB
kensho_min-max06 RE 448 ms 20528 KB
kensho_min-max07 RE 454 ms 20652 KB
kensho_min-max08 RE 429 ms 20544 KB
kensho_min-max09 RE 454 ms 20528 KB
kensho_min-max10 RE 443 ms 20656 KB
kensho_rand01 RE 456 ms 20508 KB
kensho_rand02 RE 440 ms 20620 KB
kensho_rand03 RE 449 ms 20524 KB
kensho_rand04 RE 450 ms 20624 KB
kensho_rand05 RE 454 ms 20648 KB
kensho_rand06 RE 451 ms 20520 KB
kensho_rand07 RE 445 ms 20656 KB
kensho_rand08 RE 454 ms 20528 KB
kensho_rand09 RE 449 ms 20540 KB
kensho_rand10 RE 442 ms 20652 KB