結果

問題 No.32 貯金箱の憂鬱
ユーザー splash9494splash9494
提出日時 2020-05-02 19:41:41
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 37 ms / 5,000 ms
コード長 224 bytes
コンパイル時間 269 ms
コンパイル使用メモリ 82,716 KB
実行使用メモリ 53,680 KB
最終ジャッジ日時 2024-07-23 08:08:18
合計ジャッジ時間 1,177 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.buffer.readline

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

S = (100 * L) + (25 * M) + (1 * N)

S = S % 1000
L2 = S // 100
S = S % 100
M2 = S // 25
S = S % 25
N2 = S

print(L2 + M2 + N2)
0