結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー kohaku_kohakukohaku_kohaku
提出日時 2017-06-23 22:20:51
言語 Java21
(openjdk 21)
結果
AC  
実行時間 115 ms / 2,000 ms
コード長 205 bytes
コンパイル時間 1,716 ms
コンパイル使用メモリ 74,040 KB
実行使用メモリ 54,252 KB
最終ジャッジ日時 2024-04-10 12:02:52
合計ジャッジ時間 7,970 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 110 ms
53,872 KB
testcase_01 AC 108 ms
53,892 KB
testcase_02 AC 109 ms
53,984 KB
testcase_03 AC 96 ms
53,080 KB
testcase_04 AC 105 ms
54,032 KB
testcase_05 AC 105 ms
53,860 KB
testcase_06 AC 94 ms
52,696 KB
testcase_07 AC 94 ms
52,948 KB
testcase_08 AC 97 ms
52,780 KB
testcase_09 AC 102 ms
52,704 KB
testcase_10 AC 106 ms
53,580 KB
testcase_11 AC 115 ms
54,076 KB
testcase_12 AC 103 ms
52,932 KB
testcase_13 AC 110 ms
54,024 KB
testcase_14 AC 94 ms
53,052 KB
testcase_15 AC 105 ms
53,980 KB
testcase_16 AC 98 ms
52,816 KB
testcase_17 AC 104 ms
53,860 KB
testcase_18 AC 105 ms
54,160 KB
testcase_19 AC 105 ms
54,004 KB
testcase_20 AC 98 ms
52,720 KB
testcase_21 AC 106 ms
54,032 KB
testcase_22 AC 107 ms
54,228 KB
testcase_23 AC 96 ms
52,976 KB
testcase_24 AC 107 ms
54,028 KB
testcase_25 AC 112 ms
53,992 KB
testcase_26 AC 108 ms
54,076 KB
testcase_27 AC 108 ms
54,252 KB
testcase_28 AC 105 ms
53,824 KB
testcase_29 AC 114 ms
53,840 KB
testcase_30 AC 106 ms
54,044 KB
testcase_31 AC 108 ms
54,040 KB
testcase_32 AC 108 ms
54,096 KB
testcase_33 AC 106 ms
53,828 KB
testcase_34 AC 114 ms
53,972 KB
testcase_35 AC 112 ms
54,244 KB
testcase_36 AC 104 ms
53,952 KB
testcase_37 AC 97 ms
52,684 KB
testcase_38 AC 103 ms
53,824 KB
testcase_39 AC 105 ms
54,240 KB
testcase_40 AC 105 ms
53,908 KB
testcase_41 AC 109 ms
54,160 KB
testcase_42 AC 113 ms
54,096 KB
testcase_43 AC 105 ms
53,816 KB
testcase_44 AC 108 ms
54,236 KB
testcase_45 AC 106 ms
54,020 KB
testcase_46 AC 108 ms
54,092 KB
testcase_47 AC 107 ms
53,880 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