結果

問題 No.481 1から10
ユーザー lrf141lrf141
提出日時 2017-03-25 23:27:56
言語 Scala(Beta)
(3.4.0)
結果
AC  
実行時間 977 ms / 2,000 ms
コード長 212 bytes
コンパイル時間 8,790 ms
コンパイル使用メモリ 255,660 KB
実行使用メモリ 63,232 KB
最終ジャッジ日時 2023-09-12 12:32:38
合計ジャッジ時間 18,942 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 969 ms
63,232 KB
testcase_01 AC 977 ms
62,920 KB
testcase_02 AC 976 ms
62,940 KB
testcase_03 AC 969 ms
63,088 KB
testcase_04 AC 951 ms
62,844 KB
testcase_05 AC 951 ms
62,864 KB
testcase_06 AC 962 ms
62,944 KB
testcase_07 AC 946 ms
63,024 KB
testcase_08 AC 962 ms
62,800 KB
testcase_09 AC 955 ms
62,892 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner
object no481{
    def main(args:Array[String]):Unit={
        val scan = new Scanner(System.in)
        val nums = for(i <- 1 to 9) yield scan.nextInt
        println(55-nums.sum)
    }
}
0