結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー ktguyktguy
提出日時 2017-07-25 03:34:25
言語 Java21
(openjdk 21)
結果
AC  
実行時間 138 ms / 2,000 ms
コード長 196 bytes
コンパイル時間 2,170 ms
コンパイル使用メモリ 74,108 KB
実行使用メモリ 41,904 KB
最終ジャッジ日時 2024-04-17 22:34:07
合計ジャッジ時間 9,234 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
41,668 KB
testcase_01 AC 113 ms
41,572 KB
testcase_02 AC 127 ms
41,584 KB
testcase_03 AC 126 ms
41,176 KB
testcase_04 AC 127 ms
41,180 KB
testcase_05 AC 118 ms
40,160 KB
testcase_06 AC 127 ms
41,648 KB
testcase_07 AC 129 ms
41,392 KB
testcase_08 AC 128 ms
41,808 KB
testcase_09 AC 129 ms
41,332 KB
testcase_10 AC 125 ms
41,560 KB
testcase_11 AC 127 ms
41,396 KB
testcase_12 AC 127 ms
41,384 KB
testcase_13 AC 127 ms
41,152 KB
testcase_14 AC 129 ms
41,504 KB
testcase_15 AC 138 ms
41,372 KB
testcase_16 AC 128 ms
41,788 KB
testcase_17 AC 127 ms
41,428 KB
testcase_18 AC 125 ms
41,568 KB
testcase_19 AC 127 ms
40,960 KB
testcase_20 AC 114 ms
41,376 KB
testcase_21 AC 124 ms
41,620 KB
testcase_22 AC 124 ms
41,760 KB
testcase_23 AC 132 ms
41,580 KB
testcase_24 AC 114 ms
41,520 KB
testcase_25 AC 127 ms
41,256 KB
testcase_26 AC 115 ms
41,480 KB
testcase_27 AC 128 ms
41,280 KB
testcase_28 AC 125 ms
41,064 KB
testcase_29 AC 128 ms
41,520 KB
testcase_30 AC 128 ms
41,232 KB
testcase_31 AC 125 ms
41,904 KB
testcase_32 AC 127 ms
41,020 KB
testcase_33 AC 126 ms
41,332 KB
testcase_34 AC 123 ms
41,440 KB
testcase_35 AC 122 ms
41,776 KB
testcase_36 AC 125 ms
41,152 KB
testcase_37 AC 113 ms
41,512 KB
testcase_38 AC 122 ms
41,268 KB
testcase_39 AC 120 ms
41,508 KB
testcase_40 AC 120 ms
41,044 KB
testcase_41 AC 127 ms
41,260 KB
testcase_42 AC 110 ms
41,116 KB
testcase_43 AC 122 ms
41,528 KB
testcase_44 AC 112 ms
41,176 KB
testcase_45 AC 124 ms
41,268 KB
testcase_46 AC 122 ms
41,324 KB
testcase_47 AC 123 ms
41,680 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int y = sc.nextInt();
    System.out.println(2017 - y);
  }
}
0