結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー ohagi_1182ohagi_1182
提出日時 2017-06-23 22:35:59
言語 Java21
(openjdk 21)
結果
AC  
実行時間 131 ms / 2,000 ms
コード長 189 bytes
コンパイル時間 1,985 ms
コンパイル使用メモリ 74,052 KB
実行使用メモリ 41,680 KB
最終ジャッジ日時 2024-04-10 12:45:41
合計ジャッジ時間 8,892 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 116 ms
40,932 KB
testcase_01 AC 113 ms
40,180 KB
testcase_02 AC 121 ms
41,160 KB
testcase_03 AC 113 ms
40,368 KB
testcase_04 AC 111 ms
40,136 KB
testcase_05 AC 121 ms
41,376 KB
testcase_06 AC 116 ms
40,680 KB
testcase_07 AC 119 ms
41,176 KB
testcase_08 AC 113 ms
40,136 KB
testcase_09 AC 113 ms
39,912 KB
testcase_10 AC 120 ms
41,604 KB
testcase_11 AC 118 ms
41,224 KB
testcase_12 AC 118 ms
41,188 KB
testcase_13 AC 120 ms
40,956 KB
testcase_14 AC 121 ms
41,288 KB
testcase_15 AC 110 ms
40,352 KB
testcase_16 AC 129 ms
41,640 KB
testcase_17 AC 127 ms
41,552 KB
testcase_18 AC 123 ms
41,620 KB
testcase_19 AC 114 ms
40,668 KB
testcase_20 AC 119 ms
41,100 KB
testcase_21 AC 116 ms
40,396 KB
testcase_22 AC 114 ms
40,128 KB
testcase_23 AC 122 ms
41,208 KB
testcase_24 AC 126 ms
41,424 KB
testcase_25 AC 125 ms
41,416 KB
testcase_26 AC 129 ms
41,512 KB
testcase_27 AC 116 ms
40,604 KB
testcase_28 AC 131 ms
41,680 KB
testcase_29 AC 112 ms
40,328 KB
testcase_30 AC 121 ms
41,156 KB
testcase_31 AC 123 ms
40,908 KB
testcase_32 AC 112 ms
40,096 KB
testcase_33 AC 125 ms
41,352 KB
testcase_34 AC 120 ms
40,932 KB
testcase_35 AC 119 ms
41,084 KB
testcase_36 AC 109 ms
40,268 KB
testcase_37 AC 110 ms
40,132 KB
testcase_38 AC 122 ms
41,340 KB
testcase_39 AC 120 ms
41,624 KB
testcase_40 AC 120 ms
41,588 KB
testcase_41 AC 109 ms
40,048 KB
testcase_42 AC 123 ms
41,552 KB
testcase_43 AC 110 ms
40,212 KB
testcase_44 AC 119 ms
41,420 KB
testcase_45 AC 110 ms
40,180 KB
testcase_46 AC 109 ms
40,092 KB
testcase_47 AC 118 ms
41,328 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		System.out.println(2017 - n);
	}
}
0