結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー Hiroaki KonoHiroaki Kono
提出日時 2017-10-26 23:42:54
言語 Java21
(openjdk 21)
結果
AC  
実行時間 137 ms / 2,000 ms
コード長 195 bytes
コンパイル時間 3,755 ms
コンパイル使用メモリ 74,580 KB
実行使用メモリ 41,848 KB
最終ジャッジ日時 2024-05-01 15:21:40
合計ジャッジ時間 10,599 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
41,260 KB
testcase_01 AC 129 ms
41,164 KB
testcase_02 AC 130 ms
41,272 KB
testcase_03 AC 135 ms
41,256 KB
testcase_04 AC 125 ms
41,140 KB
testcase_05 AC 130 ms
41,848 KB
testcase_06 AC 126 ms
41,140 KB
testcase_07 AC 125 ms
41,384 KB
testcase_08 AC 128 ms
41,324 KB
testcase_09 AC 125 ms
41,156 KB
testcase_10 AC 127 ms
41,184 KB
testcase_11 AC 116 ms
41,240 KB
testcase_12 AC 137 ms
41,112 KB
testcase_13 AC 127 ms
41,412 KB
testcase_14 AC 126 ms
41,392 KB
testcase_15 AC 129 ms
41,400 KB
testcase_16 AC 134 ms
41,256 KB
testcase_17 AC 127 ms
41,272 KB
testcase_18 AC 125 ms
41,520 KB
testcase_19 AC 127 ms
41,644 KB
testcase_20 AC 126 ms
41,616 KB
testcase_21 AC 114 ms
41,288 KB
testcase_22 AC 130 ms
41,456 KB
testcase_23 AC 121 ms
41,072 KB
testcase_24 AC 126 ms
41,460 KB
testcase_25 AC 125 ms
41,144 KB
testcase_26 AC 128 ms
41,384 KB
testcase_27 AC 127 ms
41,328 KB
testcase_28 AC 121 ms
41,336 KB
testcase_29 AC 124 ms
41,344 KB
testcase_30 AC 132 ms
41,340 KB
testcase_31 AC 126 ms
41,088 KB
testcase_32 AC 124 ms
41,156 KB
testcase_33 AC 125 ms
41,128 KB
testcase_34 AC 124 ms
41,192 KB
testcase_35 AC 123 ms
41,108 KB
testcase_36 AC 123 ms
41,032 KB
testcase_37 AC 123 ms
41,356 KB
testcase_38 AC 113 ms
41,200 KB
testcase_39 AC 121 ms
41,468 KB
testcase_40 AC 131 ms
41,336 KB
testcase_41 AC 123 ms
41,344 KB
testcase_42 AC 123 ms
41,776 KB
testcase_43 AC 126 ms
41,136 KB
testcase_44 AC 122 ms
41,152 KB
testcase_45 AC 114 ms
41,200 KB
testcase_46 AC 123 ms
41,308 KB
testcase_47 AC 115 ms
41,168 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class No530 {

    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        System.out.println(2017 - s.nextInt());

    }
}
0