結果
問題 |
No.379 五円硬貨
|
ユーザー |
![]() |
提出日時 | 2016-08-16 22:11:45 |
言語 | F# (F# 4.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 269 bytes |
コンパイル時間 | 7,172 ms |
コンパイル使用メモリ | 189,672 KB |
実行使用メモリ | 35,068 KB |
最終ジャッジ日時 | 2024-11-07 18:26:39 |
合計ジャッジ時間 | 14,818 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 13 WA * 3 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (240 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 "%f" let mySol = new Sol() mySol.Solve()