結果

問題 No.32 貯金箱の憂鬱
ユーザー to-gthto-gth
提出日時 2016-09-14 15:44:59
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 31 ms / 5,000 ms
コード長 331 bytes
コンパイル時間 90 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 11,008 KB
最終ジャッジ日時 2024-07-23 02:24:29
合計ジャッジ時間 994 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

l = int(input().strip())
m = int(input().strip())
n = int(input().strip())

def conv25(n):
    return [math.floor(n / 25), n % 25]

def conv4(m):
    return [math.floor(m / 4), m % 4]

def conv10(l):
    return l % 10

m_diff, n = conv25(n)
m += m_diff
l_diff, m = conv4(m)
l += l_diff
l = conv10(l)

print(l + m + n)
0