Submission #227480
Source Code Expand
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import static java.lang.Math.*; import static java.lang.Integer.parseInt; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = ""; line = br.readLine(); int x = parseInt(line.substring(0, line.indexOf(' '))); int y = parseInt(line.substring(line.indexOf(' ') + 1)); System.out.println(max(x, y)); } }
Submission Info
Submission Time | |
---|---|
Task | A - 正直者 |
User | sawfish |
Language | Java (OpenJDK 1.7.0) |
Score | 100 |
Code Size | 544 Byte |
Status | AC |
Exec Time | 348 ms |
Memory | 20664 KB |
Judge Result
Set Name | all | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
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 | 336 ms | 20504 KB |
00_sample_02.txt | AC | 331 ms | 20592 KB |
kensho_diff01 | AC | 328 ms | 20656 KB |
kensho_diff02 | AC | 329 ms | 20656 KB |
kensho_diff03 | AC | 327 ms | 20524 KB |
kensho_diff04 | AC | 330 ms | 20532 KB |
kensho_diff05 | AC | 330 ms | 20480 KB |
kensho_min-max01 | AC | 328 ms | 20524 KB |
kensho_min-max02 | AC | 328 ms | 20652 KB |
kensho_min-max03 | AC | 334 ms | 20528 KB |
kensho_min-max04 | AC | 328 ms | 20528 KB |
kensho_min-max05 | AC | 329 ms | 20528 KB |
kensho_min-max06 | AC | 331 ms | 20652 KB |
kensho_min-max07 | AC | 334 ms | 20664 KB |
kensho_min-max08 | AC | 342 ms | 20528 KB |
kensho_min-max09 | AC | 348 ms | 20528 KB |
kensho_min-max10 | AC | 346 ms | 20652 KB |
kensho_rand01 | AC | 344 ms | 20568 KB |
kensho_rand02 | AC | 346 ms | 20652 KB |
kensho_rand03 | AC | 348 ms | 20524 KB |
kensho_rand04 | AC | 345 ms | 20528 KB |
kensho_rand05 | AC | 344 ms | 20528 KB |
kensho_rand06 | AC | 341 ms | 20532 KB |
kensho_rand07 | AC | 343 ms | 20532 KB |
kensho_rand08 | AC | 340 ms | 20524 KB |
kensho_rand09 | AC | 341 ms | 20528 KB |
kensho_rand10 | AC | 341 ms | 20652 KB |