結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー matsuyoshi30matsuyoshi30
提出日時 2018-05-08 21:34:23
言語 Java21
(openjdk 21)
結果
AC  
実行時間 127 ms / 2,000 ms
コード長 287 bytes
コンパイル時間 2,198 ms
コンパイル使用メモリ 71,964 KB
実行使用メモリ 57,848 KB
最終ジャッジ日時 2023-09-10 11:08:29
合計ジャッジ時間 10,754 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 119 ms
55,932 KB
testcase_01 AC 118 ms
55,532 KB
testcase_02 AC 119 ms
56,320 KB
testcase_03 AC 119 ms
55,756 KB
testcase_04 AC 120 ms
55,896 KB
testcase_05 AC 120 ms
55,672 KB
testcase_06 AC 119 ms
55,732 KB
testcase_07 AC 119 ms
55,700 KB
testcase_08 AC 120 ms
55,712 KB
testcase_09 AC 124 ms
55,744 KB
testcase_10 AC 119 ms
55,788 KB
testcase_11 AC 119 ms
55,804 KB
testcase_12 AC 119 ms
55,932 KB
testcase_13 AC 119 ms
55,568 KB
testcase_14 AC 127 ms
56,052 KB
testcase_15 AC 121 ms
55,740 KB
testcase_16 AC 121 ms
56,256 KB
testcase_17 AC 121 ms
55,696 KB
testcase_18 AC 119 ms
55,536 KB
testcase_19 AC 122 ms
55,744 KB
testcase_20 AC 120 ms
56,244 KB
testcase_21 AC 119 ms
55,356 KB
testcase_22 AC 120 ms
57,848 KB
testcase_23 AC 116 ms
55,880 KB
testcase_24 AC 123 ms
56,284 KB
testcase_25 AC 123 ms
55,836 KB
testcase_26 AC 122 ms
55,600 KB
testcase_27 AC 121 ms
55,660 KB
testcase_28 AC 121 ms
55,568 KB
testcase_29 AC 122 ms
55,768 KB
testcase_30 AC 123 ms
56,156 KB
testcase_31 AC 121 ms
55,816 KB
testcase_32 AC 121 ms
55,568 KB
testcase_33 AC 121 ms
55,920 KB
testcase_34 AC 120 ms
55,572 KB
testcase_35 AC 119 ms
56,144 KB
testcase_36 AC 120 ms
56,048 KB
testcase_37 AC 120 ms
55,956 KB
testcase_38 AC 119 ms
55,580 KB
testcase_39 AC 117 ms
55,360 KB
testcase_40 AC 118 ms
55,944 KB
testcase_41 AC 118 ms
55,660 KB
testcase_42 AC 117 ms
55,844 KB
testcase_43 AC 118 ms
55,464 KB
testcase_44 AC 118 ms
56,028 KB
testcase_45 AC 120 ms
53,944 KB
testcase_46 AC 120 ms
55,964 KB
testcase_47 AC 120 ms
55,948 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;

class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int y = in.nextInt();

        System.out.println(2017-y);
    }
}
0