結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー takeya_okinotakeya_okino
提出日時 2017-06-23 22:21:02
言語 Java19
(openjdk 21)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 190 bytes
コンパイル時間 3,047 ms
コンパイル使用メモリ 70,736 KB
実行使用メモリ 58,084 KB
最終ジャッジ日時 2023-07-25 20:29:48
合計ジャッジ時間 11,607 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
55,940 KB
testcase_01 AC 123 ms
55,960 KB
testcase_02 AC 126 ms
56,004 KB
testcase_03 AC 125 ms
55,940 KB
testcase_04 AC 123 ms
56,056 KB
testcase_05 AC 127 ms
55,856 KB
testcase_06 AC 125 ms
55,716 KB
testcase_07 AC 124 ms
55,692 KB
testcase_08 AC 122 ms
55,460 KB
testcase_09 AC 123 ms
55,904 KB
testcase_10 AC 122 ms
55,724 KB
testcase_11 AC 124 ms
55,800 KB
testcase_12 AC 124 ms
56,044 KB
testcase_13 AC 124 ms
56,252 KB
testcase_14 AC 123 ms
55,896 KB
testcase_15 AC 122 ms
56,036 KB
testcase_16 AC 123 ms
55,916 KB
testcase_17 AC 126 ms
55,744 KB
testcase_18 AC 128 ms
55,680 KB
testcase_19 AC 126 ms
55,604 KB
testcase_20 AC 125 ms
55,848 KB
testcase_21 AC 125 ms
55,624 KB
testcase_22 AC 125 ms
55,840 KB
testcase_23 AC 126 ms
57,828 KB
testcase_24 AC 125 ms
55,652 KB
testcase_25 AC 127 ms
55,728 KB
testcase_26 AC 123 ms
55,900 KB
testcase_27 AC 127 ms
58,084 KB
testcase_28 AC 125 ms
55,708 KB
testcase_29 AC 128 ms
55,496 KB
testcase_30 AC 127 ms
55,844 KB
testcase_31 AC 129 ms
56,096 KB
testcase_32 AC 127 ms
55,968 KB
testcase_33 AC 128 ms
55,700 KB
testcase_34 AC 123 ms
56,044 KB
testcase_35 AC 128 ms
55,972 KB
testcase_36 AC 127 ms
56,024 KB
testcase_37 AC 127 ms
55,380 KB
testcase_38 AC 127 ms
55,720 KB
testcase_39 AC 125 ms
55,896 KB
testcase_40 AC 126 ms
53,904 KB
testcase_41 AC 125 ms
55,720 KB
testcase_42 AC 123 ms
53,652 KB
testcase_43 AC 122 ms
55,684 KB
testcase_44 AC 123 ms
55,668 KB
testcase_45 AC 127 ms
56,152 KB
testcase_46 AC 126 ms
55,576 KB
testcase_47 AC 125 ms
55,816 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int Y = sc.nextInt();
    System.out.println(2017 - Y);
  }
}
0