結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー 👑 yumechiyumechi
提出日時 2021-02-09 21:24:10
言語 Scala(Beta)
(3.4.0)
結果
AC  
実行時間 1,023 ms / 2,000 ms
コード長 129 bytes
コンパイル時間 11,307 ms
コンパイル使用メモリ 242,860 KB
実行使用メモリ 63,396 KB
最終ジャッジ日時 2023-09-21 09:10:39
合計ジャッジ時間 61,887 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 978 ms
63,292 KB
testcase_01 AC 977 ms
63,032 KB
testcase_02 AC 985 ms
62,996 KB
testcase_03 AC 961 ms
63,016 KB
testcase_04 AC 979 ms
62,892 KB
testcase_05 AC 968 ms
62,864 KB
testcase_06 AC 971 ms
62,892 KB
testcase_07 AC 977 ms
63,156 KB
testcase_08 AC 980 ms
62,908 KB
testcase_09 AC 1,023 ms
62,872 KB
testcase_10 AC 968 ms
63,036 KB
testcase_11 AC 974 ms
63,012 KB
testcase_12 AC 966 ms
62,952 KB
testcase_13 AC 978 ms
62,904 KB
testcase_14 AC 973 ms
62,944 KB
testcase_15 AC 983 ms
62,908 KB
testcase_16 AC 980 ms
62,748 KB
testcase_17 AC 964 ms
62,920 KB
testcase_18 AC 978 ms
62,852 KB
testcase_19 AC 985 ms
63,396 KB
testcase_20 AC 976 ms
62,760 KB
testcase_21 AC 974 ms
62,772 KB
testcase_22 AC 1,021 ms
62,768 KB
testcase_23 AC 967 ms
63,024 KB
testcase_24 AC 982 ms
62,952 KB
testcase_25 AC 978 ms
63,044 KB
testcase_26 AC 974 ms
63,320 KB
testcase_27 AC 973 ms
62,884 KB
testcase_28 AC 966 ms
62,832 KB
testcase_29 AC 975 ms
62,880 KB
testcase_30 AC 972 ms
63,064 KB
testcase_31 AC 968 ms
62,892 KB
testcase_32 AC 975 ms
63,176 KB
testcase_33 AC 974 ms
62,744 KB
testcase_34 AC 980 ms
62,724 KB
testcase_35 AC 971 ms
62,932 KB
testcase_36 AC 964 ms
62,944 KB
testcase_37 AC 966 ms
63,244 KB
testcase_38 AC 973 ms
62,984 KB
testcase_39 AC 971 ms
62,716 KB
testcase_40 AC 982 ms
62,812 KB
testcase_41 AC 974 ms
62,764 KB
testcase_42 AC 963 ms
63,220 KB
testcase_43 AC 970 ms
62,968 KB
testcase_44 AC 966 ms
62,784 KB
testcase_45 AC 990 ms
63,136 KB
testcase_46 AC 979 ms
62,968 KB
testcase_47 AC 976 ms
62,728 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner

object Main extends App {
  val sc = new Scanner(System.in)

  val i = sc.nextInt
  println(2017 - i)
}
0