結果
問題 |
No.379 五円硬貨
|
ユーザー |
![]() |
提出日時 | 2016-08-16 22:13:06 |
言語 | F# (F# 4.0) |
結果 |
AC
|
実行時間 | 356 ms / 1,000 ms |
コード長 | 272 bytes |
コンパイル時間 | 8,355 ms |
コンパイル使用メモリ | 197,956 KB |
実行使用メモリ | 34,932 KB |
最終ジャッジ日時 | 2024-11-07 18:26:59 |
合計ジャッジ時間 | 14,818 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 16 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (237 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/
ソースコード
open System type Sol() = member this.Solve() = let ss = stdin.ReadLine().Split(' ') let (N,G,V) = (int ss.[0], double ss.[1], int ss.[2]) N/5 |> double |> (*) G |> fun x -> x/(double V) |> printfn "%.12f" let mySol = new Sol() mySol.Solve()