結果
| 問題 | No.32 貯金箱の憂鬱 |
| コンテスト | |
| ユーザー |
nunnun
|
| 提出日時 | 2020-03-16 14:41:30 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 165 ms / 5,000 ms |
| コード長 | 164 bytes |
| 記録 | |
| コンパイル時間 | 614 ms |
| コンパイル使用メモリ | 20,956 KB |
| 実行使用メモリ | 15,356 KB |
| 最終ジャッジ日時 | 2026-04-03 13:18:46 |
| 合計ジャッジ時間 | 3,365 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 |
ソースコード
L=int(input())
M=int(input())
N=int(input())
cnt=0
if N>=25:
M+=N//25
N=N%25
if M>=4:
L+=M//4
M=M%4
if L>=10:
cnt+=L//10
L=L%10
print(L+M+N)
nunnun