結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー jimanojimano
提出日時 2018-01-20 14:39:35
言語 Java21
(openjdk 21)
結果
AC  
実行時間 45 ms / 2,000 ms
コード長 406 bytes
コンパイル時間 3,264 ms
コンパイル使用メモリ 71,684 KB
実行使用メモリ 49,684 KB
最終ジャッジ日時 2023-08-26 08:56:19
合計ジャッジ時間 8,216 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
49,452 KB
testcase_01 AC 43 ms
49,340 KB
testcase_02 AC 43 ms
49,208 KB
testcase_03 AC 45 ms
49,232 KB
testcase_04 AC 45 ms
49,404 KB
testcase_05 AC 44 ms
49,364 KB
testcase_06 AC 43 ms
49,152 KB
testcase_07 AC 45 ms
49,344 KB
testcase_08 AC 45 ms
49,328 KB
testcase_09 AC 43 ms
49,356 KB
testcase_10 AC 44 ms
49,592 KB
testcase_11 AC 43 ms
49,268 KB
testcase_12 AC 44 ms
49,216 KB
testcase_13 AC 43 ms
49,144 KB
testcase_14 AC 44 ms
49,652 KB
testcase_15 AC 44 ms
49,340 KB
testcase_16 AC 44 ms
49,356 KB
testcase_17 AC 44 ms
49,252 KB
testcase_18 AC 43 ms
49,204 KB
testcase_19 AC 43 ms
49,300 KB
testcase_20 AC 44 ms
49,140 KB
testcase_21 AC 44 ms
49,408 KB
testcase_22 AC 44 ms
49,324 KB
testcase_23 AC 44 ms
49,468 KB
testcase_24 AC 44 ms
49,384 KB
testcase_25 AC 44 ms
49,400 KB
testcase_26 AC 44 ms
49,464 KB
testcase_27 AC 44 ms
49,476 KB
testcase_28 AC 44 ms
49,176 KB
testcase_29 AC 45 ms
49,304 KB
testcase_30 AC 45 ms
49,416 KB
testcase_31 AC 44 ms
49,452 KB
testcase_32 AC 45 ms
49,628 KB
testcase_33 AC 44 ms
49,440 KB
testcase_34 AC 44 ms
49,360 KB
testcase_35 AC 44 ms
49,340 KB
testcase_36 AC 43 ms
49,332 KB
testcase_37 AC 43 ms
49,348 KB
testcase_38 AC 44 ms
49,252 KB
testcase_39 AC 44 ms
49,348 KB
testcase_40 AC 44 ms
49,164 KB
testcase_41 AC 43 ms
49,412 KB
testcase_42 AC 43 ms
49,544 KB
testcase_43 AC 43 ms
49,468 KB
testcase_44 AC 44 ms
49,344 KB
testcase_45 AC 44 ms
49,344 KB
testcase_46 AC 43 ms
49,352 KB
testcase_47 AC 44 ms
49,684 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package me.yukicoder.lv1;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class No0530 {
	public static void main(String[] args) {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
			int Y = Integer.parseInt(br.readLine());
			System.out.println(2017 - Y);

		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
0