結果

問題 No.32 貯金箱の憂鬱
ユーザー TeraokaAkihiro
提出日時 2017-01-27 10:46:06
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 223 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-12-23 15:24:21
合計ジャッジ時間 1,024 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 3 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

L = int(input())
M = int(input())
N = int(input())

Mp = 25
Np = 100
Op = 1000

total = L + M*Mp + N*Np

total = total % Op

N = total // Np
total = total - N*Np

M = total // Np
total = total - M*Mp

print( total + M + N )
0