結果

問題 No.32 貯金箱の憂鬱
ユーザー momoyuumomoyuu
提出日時 2022-08-03 17:29:47
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 75 ms / 5,000 ms
コード長 165 bytes
コンパイル時間 400 ms
コンパイル使用メモリ 87,188 KB
実行使用メモリ 71,536 KB
最終ジャッジ日時 2023-10-11 12:02:32
合計ジャッジ時間 2,051 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,056 KB
testcase_01 AC 72 ms
71,216 KB
testcase_02 AC 75 ms
71,308 KB
testcase_03 AC 72 ms
71,444 KB
testcase_04 AC 72 ms
71,532 KB
testcase_05 AC 73 ms
71,256 KB
testcase_06 AC 73 ms
71,476 KB
testcase_07 AC 74 ms
71,536 KB
testcase_08 AC 73 ms
71,424 KB
testcase_09 AC 73 ms
71,316 KB
testcase_10 AC 73 ms
71,292 KB
testcase_11 AC 74 ms
71,188 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

a = 0

b = n // 25
m += b
n -= 25 * b

b = m // 4
l += b
m -= 4 * b

b = l // 10
a += b
l -= 10 * b

print(l+m+n)
0