結果
| 問題 | No.32 貯金箱の憂鬱 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2017-09-10 11:33:11 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 32 ms / 5,000 ms | 
| コード長 | 317 bytes | 
| コンパイル時間 | 126 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 10,752 KB | 
| 最終ジャッジ日時 | 2024-07-23 06:39:53 | 
| 合計ジャッジ時間 | 1,067 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 12 | 
ソースコード
m100=int(input())
m25=int(input())
m1=int(input())
if m1>=25:
    kuriage1=int(m1/25)
    m25+=kuriage1
    m1=int(m1%25)
if m25>=4:
    kuriage25=int(m25/4)
    m100+=kuriage25
    m25=int(m25%4)
if m100>=10:
    m1000=0
    kuriage100=int(m100/10)
    m1000+=kuriage100
    m100=int(m100%10)
print(m1+m25+m100)
            
            
            
        