結果

問題 No.445 得点
ユーザー BurdenBurden
提出日時 2016-12-29 20:54:48
言語 Scala(Beta)
(3.4.0)
結果
AC  
実行時間 949 ms / 2,000 ms
コード長 263 bytes
コンパイル時間 8,416 ms
コンパイル使用メモリ 256,352 KB
実行使用メモリ 62,376 KB
最終ジャッジ日時 2023-09-12 09:23:36
合計ジャッジ時間 30,683 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 929 ms
62,268 KB
testcase_01 AC 949 ms
61,932 KB
testcase_02 AC 940 ms
61,996 KB
testcase_03 AC 939 ms
61,740 KB
testcase_04 AC 938 ms
61,836 KB
testcase_05 AC 935 ms
61,852 KB
testcase_06 AC 943 ms
61,964 KB
testcase_07 AC 946 ms
61,868 KB
testcase_08 AC 936 ms
61,932 KB
testcase_09 AC 940 ms
61,816 KB
testcase_10 AC 946 ms
61,936 KB
testcase_11 AC 937 ms
62,280 KB
testcase_12 AC 940 ms
61,832 KB
testcase_13 AC 940 ms
62,376 KB
testcase_14 AC 940 ms
61,872 KB
testcase_15 AC 935 ms
61,992 KB
testcase_16 AC 941 ms
62,188 KB
testcase_17 AC 940 ms
61,940 KB
testcase_18 AC 944 ms
61,972 KB
testcase_19 AC 941 ms
62,020 KB
testcase_20 AC 943 ms
61,908 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import scala.io.StdIn.readLine

object Point445 {
  def main(args:Array[String]): Unit ={
    def pointCalc(n:Double,k:Double):Int =
      (n + n / k).toInt
    val a = readLine().split(" ").map(_.toDouble)
    println(pointCalc(a(0) * 50,0.8 + a(1) * 0.2))
  }
}
0