結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー uafr_csuafr_cs
提出日時 2017-06-23 22:24:33
言語 Java21
(openjdk 21)
結果
AC  
実行時間 133 ms / 2,000 ms
コード長 396 bytes
コンパイル時間 2,022 ms
コンパイル使用メモリ 75,240 KB
実行使用メモリ 54,344 KB
最終ジャッジ日時 2024-04-10 12:28:39
合計ジャッジ時間 9,390 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 133 ms
53,996 KB
testcase_01 AC 124 ms
54,076 KB
testcase_02 AC 127 ms
54,168 KB
testcase_03 AC 114 ms
52,784 KB
testcase_04 AC 126 ms
54,156 KB
testcase_05 AC 128 ms
54,184 KB
testcase_06 AC 126 ms
54,212 KB
testcase_07 AC 124 ms
53,924 KB
testcase_08 AC 128 ms
54,280 KB
testcase_09 AC 126 ms
54,052 KB
testcase_10 AC 125 ms
53,748 KB
testcase_11 AC 125 ms
54,152 KB
testcase_12 AC 128 ms
54,344 KB
testcase_13 AC 124 ms
54,008 KB
testcase_14 AC 126 ms
54,108 KB
testcase_15 AC 126 ms
53,932 KB
testcase_16 AC 124 ms
54,144 KB
testcase_17 AC 126 ms
54,240 KB
testcase_18 AC 124 ms
54,088 KB
testcase_19 AC 126 ms
54,024 KB
testcase_20 AC 126 ms
54,236 KB
testcase_21 AC 126 ms
54,276 KB
testcase_22 AC 127 ms
54,260 KB
testcase_23 AC 124 ms
53,972 KB
testcase_24 AC 118 ms
52,976 KB
testcase_25 AC 124 ms
53,924 KB
testcase_26 AC 128 ms
54,084 KB
testcase_27 AC 126 ms
53,676 KB
testcase_28 AC 128 ms
54,120 KB
testcase_29 AC 124 ms
54,280 KB
testcase_30 AC 113 ms
52,888 KB
testcase_31 AC 113 ms
53,040 KB
testcase_32 AC 125 ms
54,336 KB
testcase_33 AC 124 ms
54,096 KB
testcase_34 AC 125 ms
54,264 KB
testcase_35 AC 127 ms
53,880 KB
testcase_36 AC 124 ms
54,068 KB
testcase_37 AC 122 ms
54,264 KB
testcase_38 AC 126 ms
54,120 KB
testcase_39 AC 123 ms
54,168 KB
testcase_40 AC 110 ms
53,064 KB
testcase_41 AC 111 ms
53,060 KB
testcase_42 AC 127 ms
54,224 KB
testcase_43 AC 125 ms
54,284 KB
testcase_44 AC 120 ms
54,256 KB
testcase_45 AC 125 ms
54,176 KB
testcase_46 AC 122 ms
54,268 KB
testcase_47 AC 120 ms
53,916 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.PriorityQueue;
import java.util.Scanner;

public class Main {
	
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		final long Y = sc.nextLong();
		
		System.out.println(2017 - Y);
	}
}
0