結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー tsunabittsunabit
提出日時 2018-07-04 19:19:44
言語 Java21
(openjdk 21)
結果
AC  
実行時間 128 ms / 2,000 ms
コード長 258 bytes
コンパイル時間 4,086 ms
コンパイル使用メモリ 72,188 KB
実行使用メモリ 56,408 KB
最終ジャッジ日時 2023-09-13 17:33:44
合計ジャッジ時間 11,107 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
55,576 KB
testcase_01 AC 119 ms
55,696 KB
testcase_02 AC 120 ms
56,160 KB
testcase_03 AC 120 ms
55,424 KB
testcase_04 AC 120 ms
55,872 KB
testcase_05 AC 121 ms
56,004 KB
testcase_06 AC 120 ms
55,964 KB
testcase_07 AC 122 ms
55,856 KB
testcase_08 AC 119 ms
56,212 KB
testcase_09 AC 121 ms
56,168 KB
testcase_10 AC 121 ms
56,352 KB
testcase_11 AC 119 ms
56,060 KB
testcase_12 AC 122 ms
55,436 KB
testcase_13 AC 120 ms
55,760 KB
testcase_14 AC 122 ms
55,952 KB
testcase_15 AC 120 ms
55,388 KB
testcase_16 AC 120 ms
56,024 KB
testcase_17 AC 120 ms
55,996 KB
testcase_18 AC 119 ms
55,620 KB
testcase_19 AC 121 ms
55,412 KB
testcase_20 AC 121 ms
55,864 KB
testcase_21 AC 125 ms
55,712 KB
testcase_22 AC 121 ms
53,600 KB
testcase_23 AC 121 ms
55,652 KB
testcase_24 AC 120 ms
55,808 KB
testcase_25 AC 120 ms
55,944 KB
testcase_26 AC 119 ms
55,820 KB
testcase_27 AC 127 ms
55,896 KB
testcase_28 AC 128 ms
55,448 KB
testcase_29 AC 120 ms
56,128 KB
testcase_30 AC 119 ms
55,888 KB
testcase_31 AC 119 ms
55,500 KB
testcase_32 AC 123 ms
55,944 KB
testcase_33 AC 119 ms
55,764 KB
testcase_34 AC 120 ms
55,952 KB
testcase_35 AC 119 ms
55,704 KB
testcase_36 AC 120 ms
55,644 KB
testcase_37 AC 121 ms
55,932 KB
testcase_38 AC 121 ms
55,616 KB
testcase_39 AC 120 ms
56,024 KB
testcase_40 AC 119 ms
55,624 KB
testcase_41 AC 121 ms
56,064 KB
testcase_42 AC 118 ms
55,692 KB
testcase_43 AC 119 ms
56,108 KB
testcase_44 AC 118 ms
56,128 KB
testcase_45 AC 118 ms
56,408 KB
testcase_46 AC 119 ms
55,752 KB
testcase_47 AC 121 ms
55,688 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.util.stream.Stream;
import java.time.*;
import java.time.format.*;

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