結果

問題 No.445 得点
ユーザー Burden
提出日時 2016-12-29 20:54:48
言語 Scala(Beta)
(3.6.2)
結果
AC  
実行時間 877 ms / 2,000 ms
コード長 263 bytes
コンパイル時間 8,040 ms
コンパイル使用メモリ 256,276 KB
実行使用メモリ 64,752 KB
最終ジャッジ日時 2024-06-29 22:07:25
合計ジャッジ時間 27,903 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

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