結果

問題 No.32 貯金箱の憂鬱
ユーザー misa2001space
提出日時 2016-09-28 22:33:32
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 312 bytes
コンパイル時間 349 ms
コンパイル使用メモリ 7,076 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-21 10:16:14
合計ジャッジ時間 1,184 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 3 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding: utf-8 -*- 
from __future__ import absolute_import
from __future__ import unicode_literals
L = input()
M = input()
N = input()
c = 0

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

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

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