結果

問題 No.32 貯金箱の憂鬱
ユーザー szkhts
提出日時 2020-04-20 09:29:39
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 303 bytes
コンパイル時間 125 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-10-06 08:30:19
合計ジャッジ時間 1,101 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 3 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

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

money_total = L + (M * 25) + (N * 100)

coins_money = money_total % 1000

N_coins = coins_money // 100
coins_money -= (N_coins * 100)

M_coins = coins_money // 25
coins_money -= (M_coins * 25)

L_coins = coins_money

print(N_coins + M_coins + L_coins)
0