結果

問題 No.379 五円硬貨
ユーザー taktak
提出日時 2018-08-03 04:24:38
言語 F#
(F# 4.0)
結果
AC  
実行時間 352 ms / 1,000 ms
コード長 220 bytes
コンパイル時間 11,034 ms
コンパイル使用メモリ 187,628 KB
実行使用メモリ 36,172 KB
最終ジャッジ日時 2023-10-19 21:16:14
合計ジャッジ時間 19,647 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 350 ms
36,156 KB
testcase_01 AC 350 ms
36,156 KB
testcase_02 AC 351 ms
36,152 KB
testcase_03 AC 351 ms
36,156 KB
testcase_04 AC 348 ms
36,152 KB
testcase_05 AC 351 ms
36,156 KB
testcase_06 AC 351 ms
36,172 KB
testcase_07 AC 351 ms
36,156 KB
testcase_08 AC 352 ms
36,152 KB
testcase_09 AC 351 ms
36,168 KB
testcase_10 AC 351 ms
36,156 KB
testcase_11 AC 352 ms
36,172 KB
testcase_12 AC 350 ms
36,172 KB
testcase_13 AC 350 ms
36,172 KB
testcase_14 AC 350 ms
36,172 KB
testcase_15 AC 349 ms
36,172 KB
testcase_16 AC 350 ms
36,156 KB
testcase_17 AC 352 ms
36,172 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (338 ms)。
MSBuild のバージョン 17.7.3+8ec440e68 (.NET)
  main -> /home/judge/data/code/bin/Release/net7.0/main.dll
  main -> /home/judge/data/code/bin/Release/net7.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