結果
問題 |
No.32 貯金箱の憂鬱
|
ユーザー |
![]() |
提出日時 | 2025-07-27 01:52:01 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 34 ms / 5,000 ms |
コード長 | 272 bytes |
コンパイル時間 | 268 ms |
コンパイル使用メモリ | 12,160 KB |
実行使用メモリ | 10,368 KB |
最終ジャッジ日時 | 2025-07-27 01:52:03 |
合計ジャッジ時間 | 1,782 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 |
ソースコード
import math x = int(input()) y = int(input()) z = int(input()) if math.floor(z / 25) >= 1: y += math.floor(z / 25) z = z % 25 if math.floor(y / 4) >= 1: x += math.floor(y / 4) y = y % 4 if math.floor(x / 10) >= 1: x = x % 10 sum = x + y + z print(sum)