Submission #348760


Source Code Expand

import java.util.Scanner;
class Main{
  public static void main(String[] args) {
     
    Scanner sc = new Scanner(System.in);
    // 整数の入力
    int H1 = sc.nextInt();
    // スペース区切りの整数の入力
    int H2 = sc.nextInt();
    // 出力
    if(H1>H2){
      System.out.println(H1);
    }else{
      if(H1<H2)System.out.println(H2);
    }
  }
}

Submission Info

Submission Time
Task A - 正直者
User ne260218d
Language Java (OpenJDK 1.7.0)
Score 100
Code Size 390 Byte
Status AC
Exec Time 467 ms
Memory 22564 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 441 ms 22368 KB
00_sample_02.txt AC 431 ms 22564 KB
kensho_diff01 AC 440 ms 22460 KB
kensho_diff02 AC 443 ms 22452 KB
kensho_diff03 AC 446 ms 22424 KB
kensho_diff04 AC 449 ms 22412 KB
kensho_diff05 AC 449 ms 22492 KB
kensho_min-max01 AC 450 ms 22464 KB
kensho_min-max02 AC 452 ms 22468 KB
kensho_min-max03 AC 454 ms 22476 KB
kensho_min-max04 AC 451 ms 22444 KB
kensho_min-max05 AC 448 ms 22440 KB
kensho_min-max06 AC 450 ms 22544 KB
kensho_min-max07 AC 458 ms 22464 KB
kensho_min-max08 AC 457 ms 22420 KB
kensho_min-max09 AC 449 ms 22456 KB
kensho_min-max10 AC 450 ms 22508 KB
kensho_rand01 AC 456 ms 22376 KB
kensho_rand02 AC 448 ms 22500 KB
kensho_rand03 AC 455 ms 22432 KB
kensho_rand04 AC 452 ms 22388 KB
kensho_rand05 AC 467 ms 22520 KB
kensho_rand06 AC 461 ms 22456 KB
kensho_rand07 AC 461 ms 22404 KB
kensho_rand08 AC 463 ms 22440 KB
kensho_rand09 AC 463 ms 22440 KB
kensho_rand10 AC 455 ms 22428 KB