結果
| 問題 | No.32 貯金箱の憂鬱 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-04-20 09:29:39 |
| 言語 | Python3 (3.14.2 + numpy 2.4.0 + scipy 1.16.3) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 303 bytes |
| 記録 | |
| コンパイル時間 | 125 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-10-06 08:30:19 |
| 合計ジャッジ時間 | 1,101 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 WA * 9 |
ソースコード
L = int(input()) M = int(input()) N = int(input()) money_total = L + (M * 25) + (N * 100) coins_money = money_total % 1000 N_coins = coins_money // 100 coins_money -= (N_coins * 100) M_coins = coins_money // 25 coins_money -= (M_coins * 25) L_coins = coins_money print(N_coins + M_coins + L_coins)