結果

問題 No.32 貯金箱の憂鬱
ユーザー misa2001space
提出日時 2016-09-28 23:07:04
言語 Python2
(2.7.18)
結果
AC  
実行時間 14 ms / 5,000 ms
コード長 235 bytes
コンパイル時間 55 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,528 KB
最終ジャッジ日時 2024-07-23 02:24:48
合計ジャッジ時間 756 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding: utf-8 -*- 

L = input()
M = input()
N = input()
c = 0

if N / 25 > 0:
    M += N / 25
    c += N % 25
else:
    c += N

if M / 4 > 0:
    L += M / 4
    c += M % 4
else:
    c += L

if L / 10 > 0:
    c += L % 10
print c
0