結果
| 問題 | No.32 貯金箱の憂鬱 |
| コンテスト | |
| ユーザー |
Fullmoon85072
|
| 提出日時 | 2020-08-01 20:04:56 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 64 ms / 5,000 ms |
| + 102µs | |
| コード長 | 350 bytes |
| 記録 | |
| コンパイル時間 | 559 ms |
| コンパイル使用メモリ | 96,088 KB |
| 実行使用メモリ | 79,104 KB |
| 最終ジャッジ日時 | 2026-08-23 21:29:21 |
| 合計ジャッジ時間 | 2,392 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 |
ソースコード
one_hundred_coin = int(input())
twenty_five_coin = int(input())
one_coin = int(input())
while one_coin >= 25:
one_coin -= 25
twenty_five_coin += 1
while twenty_five_coin >= 4:
twenty_five_coin -= 4
one_hundred_coin += 1
while one_hundred_coin >= 10:
one_hundred_coin -= 10
print(one_coin + twenty_five_coin + one_hundred_coin)
Fullmoon85072