結果

問題 No.379 五円硬貨
ユーザー tak
提出日時 2018-08-03 04:24:38
言語 F#
(F# 4.0)
結果
AC  
実行時間 322 ms / 1,000 ms
コード長 220 bytes
コンパイル時間 9,771 ms
コンパイル使用メモリ 183,664 KB
実行使用メモリ 34,884 KB
最終ジャッジ日時 2024-09-19 17:19:13
合計ジャッジ時間 15,040 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 16
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (224 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 N, G, V =
    let t = stdin.ReadLine().Split() |> Array.map int64
    t.[0], t.[1], t.[2]
    
let ans = 
    let coinN = N / 5L
    let gasV  = G * coinN |> decimal
    gasV / (decimal V)
    
ans |> printfn "%.12f"
0