結果
| 問題 | No.32 貯金箱の憂鬱 | 
| コンテスト | |
| ユーザー |  Snark86 | 
| 提出日時 | 2016-04-24 05:37:20 | 
| 言語 | Python2 (2.7.18) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 12 ms / 5,000 ms | 
| コード長 | 156 bytes | 
| コンパイル時間 | 194 ms | 
| コンパイル使用メモリ | 6,784 KB | 
| 実行使用メモリ | 6,272 KB | 
| 最終ジャッジ日時 | 2024-07-23 02:18:05 | 
| 合計ジャッジ時間 | 892 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 12 | 
ソースコード
n = 0 for i in [100,25,1]: n += i * int(raw_input()) cnt = 0 for i in [1000,100,25,1]: p = n/i if n/i > 0: n -= p*i if i<1000: cnt += p print cnt
