結果
| 問題 | No.32 貯金箱の憂鬱 |
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-20 18:47:14 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 56 ms / 5,000 ms |
| コード長 | 284 bytes |
| 記録 | |
| コンパイル時間 | 240 ms |
| コンパイル使用メモリ | 96,232 KB |
| 実行使用メモリ | 78,916 KB |
| 最終ジャッジ日時 | 2026-07-07 07:41:52 |
| 合計ジャッジ時間 | 2,223 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 |
ソースコード
L = int(input()) M = int(input()) N = int(input()) # Convert 1-yen to 25-yen q, N = divmod(N, 25) M += q # Convert 25-yen to 100-yen q, M = divmod(M, 4) L += q # Convert 100-yen to 1000-yen (only remainder affects the coin count) L %= 10 # Sum the remaining coins print(L + M + N)
lam6er