結果

問題 No.1551 誕生日の三角形
ユーザー fukafukatanifukafukatani
提出日時 2021-06-18 21:34:32
言語 Scala(Beta)
(3.4.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 188 bytes
コンパイル時間 8,611 ms
コンパイル使用メモリ 242,784 KB
実行使用メモリ 64,288 KB
最終ジャッジ日時 2023-09-04 22:32:05
合計ジャッジ時間 21,639 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 TLE -
testcase_02 TLE -
testcase_03 TLE -
testcase_04 TLE -
testcase_05 TLE -
testcase_06 TLE -
testcase_07 TLE -
testcase_08 TLE -
testcase_09 TLE -
testcase_10 TLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner
import scala.math.sqrt

object Main extends App {
  val sc = new Scanner(System.in)
  val l = sc.nextDouble
  val a = l / 3.0
  println(0.25 * a * a * sqrt(3.0))
}
0