結果
問題 | No.32 貯金箱の憂鬱 |
ユーザー |
|
提出日時 | 2016-06-25 19:41:16 |
言語 | F# (F# 4.0) |
結果 |
AC
|
実行時間 | 346 ms / 5,000 ms |
コード長 | 303 bytes |
コンパイル時間 | 9,600 ms |
コンパイル使用メモリ | 183,784 KB |
実行使用メモリ | 34,344 KB |
最終ジャッジ日時 | 2024-07-23 02:21:37 |
合計ジャッジ時間 | 12,786 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (290 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/
ソースコード
let doIt () =let L = stdin.ReadLine () |> intlet M = stdin.ReadLine () |> intlet N = stdin.ReadLine () |> intlet total = L * 100 + M * 25 + Nlet c100 = (total % 1000) / 100let c25 = (total % 100) / 25let c1 = (total % 25)c100 + c25 + c1 |> printfn "%d"doIt ()