結果
| 問題 | No.32 貯金箱の憂鬱 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2020-08-30 19:34:25 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 442 bytes | 
| コンパイル時間 | 212 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 10,752 KB | 
| 最終ジャッジ日時 | 2024-11-15 15:14:12 | 
| 合計ジャッジ時間 | 1,049 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | WA * 12 | 
ソースコード
L = int(input()) #100円の枚数 M = int(input()) #25円の枚数 N = int(input()) #1円の枚数 sum = 100*L + 25*M + N print(sum) remaind_1000 = divmod(sum, 1000) #print(remaind_1000) remaind_100 = divmod(remaind_1000[1], 100) #print(remaind_100) remaind_25 = divmod(remaind_100[1], 25) #print(remaind_25) remaind_1 = remaind_25[1] #print(remaind_1) coin = remaind_100[0] + remaind_25[0] + remaind_1 print(coin)
