結果

問題 No.89 どんどんドーナツどーんといこう!
ユーザー chike_pluschike_plus
提出日時 2019-03-31 10:40:36
言語 F#
(F# 4.0)
結果
AC  
実行時間 61 ms / 5,000 ms
コード長 431 bytes
コンパイル時間 8,938 ms
コンパイル使用メモリ 185,680 KB
実行使用メモリ 29,568 KB
最終ジャッジ日時 2024-04-15 19:53:58
合計ジャッジ時間 10,396 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
29,528 KB
testcase_01 AC 58 ms
29,556 KB
testcase_02 AC 59 ms
29,564 KB
testcase_03 AC 60 ms
29,440 KB
testcase_04 AC 61 ms
29,568 KB
testcase_05 AC 58 ms
29,568 KB
testcase_06 AC 61 ms
29,568 KB
testcase_07 AC 60 ms
29,568 KB
testcase_08 AC 60 ms
29,528 KB
testcase_09 AC 59 ms
29,440 KB
testcase_10 AC 58 ms
29,440 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (262 ms)。
MSBuild のバージョン 17.9.6+a4ecab324 (.NET)
  main -> /home/judge/data/code/bin/Release/net8.0/main.dll
  main -> /home/judge/data/code/bin/Release/net8.0/publish/

ソースコード

diff #

let ``No.89 どんどんドーナツどーんといこう!``() =

  let c = stdin.ReadLine() |> float
  let ri , ro =
    stdin.ReadLine().Split(' ')
    |> Array.map (float)
    |> fun args -> args.[0], args.[1]

  let cirArea  rout rin   = 0.25 * System.Math.PI ** 2.0 * (rout + rin) * (rout - rin) * (rout - rin)
  (cirArea ro ri) * c
  |> stdout.WriteLine
  

  ()
``No.89 どんどんドーナツどーんといこう!``()
0