結果

問題 No.32 貯金箱の憂鬱
ユーザー Co-3Co-3
提出日時 2020-12-11 19:59:44
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 30 ms / 5,000 ms
コード長 181 bytes
コンパイル時間 128 ms
コンパイル使用メモリ 11,748 KB
実行使用メモリ 10,088 KB
最終ジャッジ日時 2023-10-20 01:39:16
合計ジャッジ時間 1,102 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
10,088 KB
testcase_01 AC 28 ms
10,088 KB
testcase_02 AC 29 ms
10,088 KB
testcase_03 AC 28 ms
10,088 KB
testcase_04 AC 28 ms
10,088 KB
testcase_05 AC 28 ms
10,088 KB
testcase_06 AC 28 ms
10,088 KB
testcase_07 AC 28 ms
10,088 KB
testcase_08 AC 29 ms
10,088 KB
testcase_09 AC 28 ms
10,088 KB
testcase_10 AC 29 ms
10,088 KB
testcase_11 AC 29 ms
10,088 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a = int(input())
b = int(input())
c = int(input())
d = 0
while c >= 25:
    b += 1
    c -= 25
while b >= 4:
    a += 1
    b -= 4
while a >= 10:
    d += 1
    a -= 10
print(a+b+c)
0