結果
| 問題 | No.32 貯金箱の憂鬱 | 
| コンテスト | |
| ユーザー |  chike_plus | 
| 提出日時 | 2019-03-19 10:28:06 | 
| 言語 | F# (F# 4.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 303 bytes | 
| コンパイル時間 | 15,602 ms | 
| コンパイル使用メモリ | 184,696 KB | 
| 実行使用メモリ | 29,184 KB | 
| 最終ジャッジ日時 | 2024-09-13 14:02:03 | 
| 合計ジャッジ時間 | 11,356 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 3 WA * 9 | 
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (275 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
let sum = (Console.ReadLine() |> (fun s -> 100 * (int s)))
        + (Console.ReadLine() |> (fun s ->  25 * (int s)))
        + (Console.ReadLine() |> int)
let hundred = (sum % 1000) / 100
let quarter = (sum / 100) / 25
let one     = (sum % 25)
Console.WriteLine (hundred + quarter + one)
            
            
            
        