結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー satumaimosatumaimo
提出日時 2017-07-07 17:32:11
言語 Java21
(openjdk 21)
結果
AC  
実行時間 138 ms / 2,000 ms
コード長 443 bytes
コンパイル時間 2,133 ms
コンパイル使用メモリ 74,396 KB
実行使用メモリ 41,796 KB
最終ジャッジ日時 2024-04-16 01:16:01
合計ジャッジ時間 10,012 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 134 ms
41,544 KB
testcase_01 AC 130 ms
41,208 KB
testcase_02 AC 133 ms
41,184 KB
testcase_03 AC 133 ms
41,428 KB
testcase_04 AC 133 ms
41,468 KB
testcase_05 AC 132 ms
41,176 KB
testcase_06 AC 135 ms
41,340 KB
testcase_07 AC 117 ms
40,344 KB
testcase_08 AC 118 ms
40,312 KB
testcase_09 AC 135 ms
41,232 KB
testcase_10 AC 134 ms
41,688 KB
testcase_11 AC 136 ms
41,796 KB
testcase_12 AC 135 ms
41,424 KB
testcase_13 AC 136 ms
41,424 KB
testcase_14 AC 137 ms
41,568 KB
testcase_15 AC 135 ms
41,624 KB
testcase_16 AC 134 ms
41,228 KB
testcase_17 AC 135 ms
41,508 KB
testcase_18 AC 122 ms
40,164 KB
testcase_19 AC 132 ms
41,412 KB
testcase_20 AC 131 ms
41,364 KB
testcase_21 AC 138 ms
41,272 KB
testcase_22 AC 134 ms
41,400 KB
testcase_23 AC 133 ms
41,252 KB
testcase_24 AC 136 ms
41,412 KB
testcase_25 AC 135 ms
41,584 KB
testcase_26 AC 134 ms
41,644 KB
testcase_27 AC 135 ms
41,268 KB
testcase_28 AC 133 ms
41,584 KB
testcase_29 AC 135 ms
41,544 KB
testcase_30 AC 133 ms
41,160 KB
testcase_31 AC 131 ms
41,180 KB
testcase_32 AC 133 ms
41,640 KB
testcase_33 AC 135 ms
41,296 KB
testcase_34 AC 138 ms
41,260 KB
testcase_35 AC 135 ms
41,524 KB
testcase_36 AC 135 ms
41,560 KB
testcase_37 AC 135 ms
41,672 KB
testcase_38 AC 135 ms
41,500 KB
testcase_39 AC 134 ms
41,232 KB
testcase_40 AC 135 ms
41,556 KB
testcase_41 AC 134 ms
41,576 KB
testcase_42 AC 133 ms
41,268 KB
testcase_43 AC 131 ms
41,288 KB
testcase_44 AC 136 ms
41,500 KB
testcase_45 AC 134 ms
41,240 KB
testcase_46 AC 132 ms
41,156 KB
testcase_47 AC 134 ms
41,664 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.util.Scanner;

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

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

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
    }
}
0