結果

問題 No.1551 誕生日の三角形
ユーザー fukafukatanifukafukatani
提出日時 2021-06-18 21:28:12
言語 Scala(Beta)
(3.4.0)
結果
WA  
実行時間 -
コード長 187 bytes
コンパイル時間 7,699 ms
コンパイル使用メモリ 240,008 KB
実行使用メモリ 64,296 KB
最終ジャッジ日時 2023-09-04 22:26:19
合計ジャッジ時間 20,042 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

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.5 * a * a * sqrt(3.0))
}
0