結果

問題 No.32 貯金箱の憂鬱
ユーザー R N
提出日時 2020-07-22 11:22:57
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 268 bytes
コンパイル時間 408 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-06-11 07:15:21
合計ジャッジ時間 1,353 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding:utf-8
L, M, N = [int(input()) for i in range(3)]

L_m = L * 100
M_m = M * 25
N_m = N * 1

one = N_m % 25
twentyFive = (N_m - one + M_m) % 100
oneThousand = (M_m - twentyFive + L_m) % 1000
ans = (one // 1) + (twentyFive // 25) + (oneThousand // 100)
print(ans)
0