結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー bellbell
提出日時 2021-02-16 09:10:17
言語 Java21
(openjdk 21)
結果
AC  
実行時間 120 ms / 2,000 ms
コード長 222 bytes
コンパイル時間 1,763 ms
コンパイル使用メモリ 70,816 KB
実行使用メモリ 56,492 KB
最終ジャッジ日時 2023-10-09 21:04:43
合計ジャッジ時間 9,347 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 114 ms
55,752 KB
testcase_01 AC 114 ms
56,492 KB
testcase_02 AC 116 ms
56,128 KB
testcase_03 AC 114 ms
55,884 KB
testcase_04 AC 110 ms
56,088 KB
testcase_05 AC 111 ms
53,988 KB
testcase_06 AC 116 ms
56,240 KB
testcase_07 AC 116 ms
55,788 KB
testcase_08 AC 114 ms
56,048 KB
testcase_09 AC 114 ms
56,188 KB
testcase_10 AC 116 ms
56,352 KB
testcase_11 AC 117 ms
55,724 KB
testcase_12 AC 118 ms
55,616 KB
testcase_13 AC 114 ms
55,952 KB
testcase_14 AC 113 ms
55,896 KB
testcase_15 AC 116 ms
55,724 KB
testcase_16 AC 119 ms
55,728 KB
testcase_17 AC 119 ms
55,828 KB
testcase_18 AC 119 ms
56,020 KB
testcase_19 AC 116 ms
56,192 KB
testcase_20 AC 115 ms
56,088 KB
testcase_21 AC 116 ms
55,828 KB
testcase_22 AC 117 ms
56,264 KB
testcase_23 AC 120 ms
55,892 KB
testcase_24 AC 120 ms
56,172 KB
testcase_25 AC 115 ms
56,064 KB
testcase_26 AC 115 ms
56,076 KB
testcase_27 AC 115 ms
56,028 KB
testcase_28 AC 116 ms
56,076 KB
testcase_29 AC 117 ms
55,868 KB
testcase_30 AC 116 ms
56,096 KB
testcase_31 AC 118 ms
55,872 KB
testcase_32 AC 117 ms
56,356 KB
testcase_33 AC 115 ms
56,364 KB
testcase_34 AC 117 ms
54,300 KB
testcase_35 AC 114 ms
55,976 KB
testcase_36 AC 116 ms
56,036 KB
testcase_37 AC 113 ms
55,904 KB
testcase_38 AC 115 ms
56,384 KB
testcase_39 AC 117 ms
56,344 KB
testcase_40 AC 115 ms
55,632 KB
testcase_41 AC 113 ms
54,704 KB
testcase_42 AC 113 ms
56,356 KB
testcase_43 AC 115 ms
55,992 KB
testcase_44 AC 115 ms
55,976 KB
testcase_45 AC 119 ms
55,936 KB
testcase_46 AC 116 ms
55,584 KB
testcase_47 AC 112 ms
56,164 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {

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

        System.out.println(2017-y);


        sc.close();
	}
}

0