結果
問題 |
No.32 貯金箱の憂鬱
|
ユーザー |
|
提出日時 | 2025-07-22 15:49:26 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 30 ms / 5,000 ms |
コード長 | 301 bytes |
コンパイル時間 | 324 ms |
コンパイル使用メモリ | 11,904 KB |
実行使用メモリ | 10,368 KB |
最終ジャッジ日時 | 2025-07-22 15:49:28 |
合計ジャッジ時間 | 1,623 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 |
ソースコード
def ip():return int(input()) def mp():return map(int, input().split()) def lmp():return list(map(int, input().split())) # No.32 貯金箱の憂鬱 L = ip() M = ip() N = ip() d,m = divmod(L*100 + M*25 + N, 1000) ans = 0 d1,m1 = divmod(m, 100) ans += d1 d2,m2 = divmod(m1, 25) ans += d2 + m2 print(ans)