結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー gu_21816943gu_21816943
提出日時 2017-06-25 15:54:22
言語 Java21
(openjdk 21)
結果
AC  
実行時間 127 ms / 2,000 ms
コード長 217 bytes
コンパイル時間 2,052 ms
コンパイル使用メモリ 74,612 KB
実行使用メモリ 54,668 KB
最終ジャッジ日時 2024-04-15 01:26:11
合計ジャッジ時間 9,053 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
54,232 KB
testcase_01 AC 125 ms
54,268 KB
testcase_02 AC 122 ms
53,872 KB
testcase_03 AC 120 ms
53,800 KB
testcase_04 AC 123 ms
53,940 KB
testcase_05 AC 122 ms
54,104 KB
testcase_06 AC 121 ms
54,140 KB
testcase_07 AC 121 ms
53,996 KB
testcase_08 AC 109 ms
52,976 KB
testcase_09 AC 127 ms
53,812 KB
testcase_10 AC 125 ms
54,204 KB
testcase_11 AC 125 ms
53,724 KB
testcase_12 AC 122 ms
53,744 KB
testcase_13 AC 123 ms
54,140 KB
testcase_14 AC 124 ms
54,248 KB
testcase_15 AC 122 ms
54,208 KB
testcase_16 AC 123 ms
54,304 KB
testcase_17 AC 122 ms
54,136 KB
testcase_18 AC 120 ms
54,224 KB
testcase_19 AC 123 ms
54,264 KB
testcase_20 AC 122 ms
54,128 KB
testcase_21 AC 123 ms
54,228 KB
testcase_22 AC 126 ms
54,208 KB
testcase_23 AC 121 ms
54,144 KB
testcase_24 AC 120 ms
54,412 KB
testcase_25 AC 120 ms
54,188 KB
testcase_26 AC 122 ms
53,992 KB
testcase_27 AC 117 ms
53,832 KB
testcase_28 AC 119 ms
53,932 KB
testcase_29 AC 121 ms
54,028 KB
testcase_30 AC 122 ms
53,932 KB
testcase_31 AC 121 ms
54,120 KB
testcase_32 AC 124 ms
54,668 KB
testcase_33 AC 120 ms
54,188 KB
testcase_34 AC 123 ms
53,740 KB
testcase_35 AC 120 ms
53,940 KB
testcase_36 AC 120 ms
53,832 KB
testcase_37 AC 120 ms
53,872 KB
testcase_38 AC 124 ms
54,124 KB
testcase_39 AC 120 ms
53,988 KB
testcase_40 AC 121 ms
53,860 KB
testcase_41 AC 120 ms
54,160 KB
testcase_42 AC 122 ms
54,176 KB
testcase_43 AC 121 ms
54,196 KB
testcase_44 AC 124 ms
54,152 KB
testcase_45 AC 124 ms
54,196 KB
testcase_46 AC 123 ms
54,048 KB
testcase_47 AC 124 ms
54,200 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num = Integer.parseInt(sc.nextLine());
		sc.close();

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