結果

問題 No.32 貯金箱の憂鬱
ユーザー papinniepapinnie
提出日時 2019-08-02 17:33:53
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 17 ms / 5,000 ms
コード長 166 bytes
コンパイル時間 70 ms
コンパイル使用メモリ 10,672 KB
実行使用メモリ 7,936 KB
最終ジャッジ日時 2023-09-30 13:33:46
合計ジャッジ時間 885 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,812 KB
testcase_01 AC 17 ms
7,780 KB
testcase_02 AC 16 ms
7,856 KB
testcase_03 AC 16 ms
7,936 KB
testcase_04 AC 15 ms
7,796 KB
testcase_05 AC 15 ms
7,816 KB
testcase_06 AC 15 ms
7,816 KB
testcase_07 AC 15 ms
7,708 KB
testcase_08 AC 15 ms
7,920 KB
testcase_09 AC 15 ms
7,816 KB
testcase_10 AC 15 ms
7,780 KB
testcase_11 AC 14 ms
7,856 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

s = (l * 100 + m * 25 + n) % 1000

lc = s // 100
mc = (s % 100) // 25
nc = s - lc*100 - mc*25

print(lc + mc + nc)
0