結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー aikon_marimoaikon_marimo
提出日時 2018-02-04 00:06:49
言語 Java21
(openjdk 21)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 249 bytes
コンパイル時間 2,202 ms
コンパイル使用メモリ 72,508 KB
実行使用メモリ 57,872 KB
最終ジャッジ日時 2023-09-04 04:36:39
合計ジャッジ時間 10,331 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 128 ms
55,720 KB
testcase_01 AC 129 ms
55,568 KB
testcase_02 AC 124 ms
55,740 KB
testcase_03 AC 126 ms
56,000 KB
testcase_04 AC 127 ms
55,480 KB
testcase_05 AC 121 ms
56,008 KB
testcase_06 AC 128 ms
55,616 KB
testcase_07 AC 122 ms
55,780 KB
testcase_08 AC 120 ms
55,672 KB
testcase_09 AC 124 ms
55,988 KB
testcase_10 AC 127 ms
55,964 KB
testcase_11 AC 124 ms
55,848 KB
testcase_12 AC 121 ms
55,652 KB
testcase_13 AC 119 ms
55,560 KB
testcase_14 AC 129 ms
55,880 KB
testcase_15 AC 123 ms
55,656 KB
testcase_16 AC 119 ms
57,872 KB
testcase_17 AC 123 ms
56,032 KB
testcase_18 AC 124 ms
55,608 KB
testcase_19 AC 128 ms
55,692 KB
testcase_20 AC 121 ms
55,896 KB
testcase_21 AC 120 ms
55,320 KB
testcase_22 AC 125 ms
55,464 KB
testcase_23 AC 124 ms
55,360 KB
testcase_24 AC 118 ms
55,528 KB
testcase_25 AC 117 ms
55,408 KB
testcase_26 AC 123 ms
55,892 KB
testcase_27 AC 118 ms
55,964 KB
testcase_28 AC 119 ms
57,800 KB
testcase_29 AC 121 ms
55,728 KB
testcase_30 AC 120 ms
55,660 KB
testcase_31 AC 121 ms
55,892 KB
testcase_32 AC 119 ms
55,440 KB
testcase_33 AC 122 ms
55,656 KB
testcase_34 AC 119 ms
55,800 KB
testcase_35 AC 117 ms
55,700 KB
testcase_36 AC 119 ms
56,080 KB
testcase_37 AC 118 ms
56,248 KB
testcase_38 AC 118 ms
55,588 KB
testcase_39 AC 128 ms
55,768 KB
testcase_40 AC 120 ms
55,836 KB
testcase_41 AC 120 ms
55,968 KB
testcase_42 AC 122 ms
55,480 KB
testcase_43 AC 122 ms
55,780 KB
testcase_44 AC 120 ms
55,684 KB
testcase_45 AC 125 ms
55,444 KB
testcase_46 AC 123 ms
55,836 KB
testcase_47 AC 122 ms
55,624 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		String ans = "";
		
		String S = in.next();
		
		int a = Integer.parseInt(S);
		
		
		System.out.println(2017-a);
	}
}
0