AtCoder Beginner Contest 001

Submission #288553

Source codeソースコード

   import java.util.*;
public class Main{
  
 public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
int h1 = sc.nextInt();
int h2 = sc.nextInt();
int h3 = 0;
if ( h1 < h2){
h3= h2 - h1;
System.out.println(h3);
}else{
h3 = h1 -h2;
System.out.println(h3);
 
  }

  }

 }

Submission

Task問題 A - 積雪深差
User nameユーザ名 najr
Created time投稿日時
Language言語 Java (OpenJDK 1.7.0)
Status状態 WA
Score得点 0
Source lengthソースコード長 319 Byte
File nameファイル名
Exec time実行時間 ms
Memory usageメモリ使用量 -

Test case

Set

Set name Score得点 / Max score Cases
all 0 / 100 00_sample_01.txt,00_sample_02.txt,00_sample_03.txt,test_01.txt,test_02.txt,test_03.txt,test_04.txt,test_05.txt,test_06.txt,test_07.txt,test_08.txt,test_09.txt,test_10.txt,test_11.txt,test_12.txt,test_13.txt,test_14.txt,test_15.txt,test_16.txt,test_17.txt

Test case

Case name Status状態 Exec time実行時間 Memory usageメモリ使用量
00_sample_01.txt AC 460 ms 23344 KB
00_sample_02.txt AC 465 ms 23436 KB
00_sample_03.txt WA
test_01.txt AC 459 ms 23252 KB
test_02.txt AC 455 ms 23360 KB
test_03.txt WA
test_04.txt AC 448 ms 23424 KB
test_05.txt AC 443 ms 23392 KB
test_06.txt WA
test_07.txt WA
test_08.txt WA
test_09.txt WA
test_10.txt WA
test_11.txt WA
test_12.txt AC 463 ms 23376 KB
test_13.txt WA
test_14.txt AC 478 ms 23392 KB
test_15.txt WA
test_16.txt WA
test_17.txt AC 459 ms 23460 KB