結果
| 問題 | No.32 貯金箱の憂鬱 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-06-25 19:41:16 |
| 言語 | F# (F# 10.0) |
| 結果 |
AC
|
| 実行時間 | 209 ms / 5,000 ms |
| コード長 | 303 bytes |
| 記録 | |
| コンパイル時間 | 5,010 ms |
| コンパイル使用メモリ | 206,024 KB |
| 実行使用メモリ | 36,816 KB |
| 最終ジャッジ日時 | 2026-04-03 12:10:06 |
| 合計ジャッジ時間 | 8,425 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (167 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.0/publish/
ソースコード
let doIt () =
let L = stdin.ReadLine () |> int
let M = stdin.ReadLine () |> int
let N = stdin.ReadLine () |> int
let total = L * 100 + M * 25 + N
let c100 = (total % 1000) / 100
let c25 = (total % 100) / 25
let c1 = (total % 25)
c100 + c25 + c1 |> printfn "%d"
doIt ()