結果
| 問題 |
No.32 貯金箱の憂鬱
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-03-28 15:17:30 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 35 ms / 5,000 ms |
| コード長 | 313 bytes |
| コンパイル時間 | 219 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-07-23 07:07:11 |
| 合計ジャッジ時間 | 1,088 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 |
ソースコード
hundred_yen = int(input()) twentyfive_yen = int(input()) one_yen = int(input()) twentyfive_yen += int(one_yen/25) one_yen = one_yen%25 hundred_yen += int(twentyfive_yen/4) twentyfive_yen = twentyfive_yen % 4 hundred_yen = hundred_yen%10 all_amount = hundred_yen + twentyfive_yen + one_yen print(all_amount)