結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー momomomo
提出日時 2017-06-23 22:23:17
言語 Java21
(openjdk 21)
結果
AC  
実行時間 112 ms / 2,000 ms
コード長 244 bytes
コンパイル時間 1,673 ms
コンパイル使用メモリ 74,812 KB
実行使用メモリ 54,292 KB
最終ジャッジ日時 2024-04-10 12:23:32
合計ジャッジ時間 7,760 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 106 ms
54,292 KB
testcase_01 AC 103 ms
53,872 KB
testcase_02 AC 104 ms
54,116 KB
testcase_03 AC 101 ms
53,836 KB
testcase_04 AC 104 ms
54,116 KB
testcase_05 AC 103 ms
53,956 KB
testcase_06 AC 100 ms
53,996 KB
testcase_07 AC 100 ms
54,112 KB
testcase_08 AC 93 ms
52,948 KB
testcase_09 AC 101 ms
53,936 KB
testcase_10 AC 101 ms
53,884 KB
testcase_11 AC 89 ms
52,484 KB
testcase_12 AC 102 ms
54,252 KB
testcase_13 AC 101 ms
54,136 KB
testcase_14 AC 102 ms
54,256 KB
testcase_15 AC 92 ms
52,852 KB
testcase_16 AC 95 ms
53,724 KB
testcase_17 AC 102 ms
54,244 KB
testcase_18 AC 103 ms
54,224 KB
testcase_19 AC 101 ms
54,096 KB
testcase_20 AC 102 ms
54,032 KB
testcase_21 AC 102 ms
53,904 KB
testcase_22 AC 91 ms
52,972 KB
testcase_23 AC 102 ms
53,984 KB
testcase_24 AC 112 ms
54,264 KB
testcase_25 AC 94 ms
52,928 KB
testcase_26 AC 112 ms
54,028 KB
testcase_27 AC 93 ms
52,956 KB
testcase_28 AC 91 ms
53,008 KB
testcase_29 AC 109 ms
54,020 KB
testcase_30 AC 105 ms
53,744 KB
testcase_31 AC 99 ms
53,888 KB
testcase_32 AC 100 ms
54,120 KB
testcase_33 AC 100 ms
53,376 KB
testcase_34 AC 103 ms
53,964 KB
testcase_35 AC 104 ms
54,088 KB
testcase_36 AC 102 ms
54,216 KB
testcase_37 AC 102 ms
53,972 KB
testcase_38 AC 96 ms
53,404 KB
testcase_39 AC 110 ms
54,004 KB
testcase_40 AC 107 ms
54,016 KB
testcase_41 AC 103 ms
53,708 KB
testcase_42 AC 109 ms
54,072 KB
testcase_43 AC 104 ms
54,120 KB
testcase_44 AC 94 ms
52,904 KB
testcase_45 AC 96 ms
52,748 KB
testcase_46 AC 105 ms
54,128 KB
testcase_47 AC 106 ms
53,852 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.lang.*;
 
public class Main {
    public static void main(String[] args) {

        Scanner sc  = new Scanner(System.in);

        int N = Integer.parseInt(sc.next());
        System.out.println(2017-N);
    }

}
0