結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー syuki791syuki791
提出日時 2017-06-25 23:54:10
言語 Java21
(openjdk 21)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 209 bytes
コンパイル時間 2,367 ms
コンパイル使用メモリ 74,468 KB
実行使用メモリ 54,468 KB
最終ジャッジ日時 2024-04-14 23:46:43
合計ジャッジ時間 9,375 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
54,024 KB
testcase_01 AC 124 ms
53,968 KB
testcase_02 AC 124 ms
54,188 KB
testcase_03 AC 126 ms
54,192 KB
testcase_04 AC 125 ms
53,908 KB
testcase_05 AC 128 ms
53,880 KB
testcase_06 AC 127 ms
54,080 KB
testcase_07 AC 125 ms
54,004 KB
testcase_08 AC 125 ms
54,256 KB
testcase_09 AC 125 ms
54,112 KB
testcase_10 AC 126 ms
54,096 KB
testcase_11 AC 129 ms
54,232 KB
testcase_12 AC 127 ms
54,076 KB
testcase_13 AC 127 ms
54,272 KB
testcase_14 AC 125 ms
54,468 KB
testcase_15 AC 125 ms
53,916 KB
testcase_16 AC 127 ms
54,024 KB
testcase_17 AC 128 ms
53,828 KB
testcase_18 AC 127 ms
54,444 KB
testcase_19 AC 127 ms
54,004 KB
testcase_20 AC 129 ms
54,136 KB
testcase_21 AC 124 ms
53,848 KB
testcase_22 AC 125 ms
54,056 KB
testcase_23 AC 126 ms
53,888 KB
testcase_24 AC 127 ms
54,056 KB
testcase_25 AC 117 ms
54,036 KB
testcase_26 AC 127 ms
53,892 KB
testcase_27 AC 127 ms
54,220 KB
testcase_28 AC 126 ms
53,992 KB
testcase_29 AC 127 ms
53,976 KB
testcase_30 AC 127 ms
54,028 KB
testcase_31 AC 127 ms
53,860 KB
testcase_32 AC 128 ms
54,020 KB
testcase_33 AC 127 ms
53,948 KB
testcase_34 AC 127 ms
54,268 KB
testcase_35 AC 125 ms
53,864 KB
testcase_36 AC 126 ms
54,396 KB
testcase_37 AC 128 ms
54,104 KB
testcase_38 AC 126 ms
54,112 KB
testcase_39 AC 128 ms
53,996 KB
testcase_40 AC 125 ms
54,080 KB
testcase_41 AC 128 ms
53,980 KB
testcase_42 AC 124 ms
54,088 KB
testcase_43 AC 124 ms
54,168 KB
testcase_44 AC 125 ms
54,036 KB
testcase_45 AC 127 ms
54,208 KB
testcase_46 AC 126 ms
54,092 KB
testcase_47 AC 126 ms
54,036 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main{
	
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int b = Integer.parseInt(s.next());
		System.out.println(2017-b);
		s.close();
	}

}
0