結果

問題 No.32 貯金箱の憂鬱
ユーザー mk2sd
提出日時 2025-07-27 01:49:29
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 271 bytes
コンパイル時間 346 ms
コンパイル使用メモリ 11,904 KB
実行使用メモリ 10,368 KB
最終ジャッジ日時 2025-07-27 01:49:31
合計ジャッジ時間 1,664 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
x = int(input())
y = int(input())
z = int(input())

if math.floor(z / 25) >= 1:
    y += math.floor(z / 25)
if math.floor(y / 4) >= 1:
    x += math.floor(y / 4)
    y = y % 4
if math.floor(x / 10) >= 1:
    x = x % 10
    print(x)
sum = x + y + z
print(sum)
0