結果

問題 No.32 貯金箱の憂鬱
ユーザー mahiromahiro
提出日時 2020-01-11 17:40:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 5,000 ms
コード長 207 bytes
コンパイル時間 375 ms
コンパイル使用メモリ 87,076 KB
実行使用メモリ 71,640 KB
最終ジャッジ日時 2023-09-30 13:45:31
合計ジャッジ時間 1,949 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,396 KB
testcase_01 AC 69 ms
71,556 KB
testcase_02 AC 68 ms
71,388 KB
testcase_03 AC 68 ms
71,348 KB
testcase_04 AC 69 ms
71,640 KB
testcase_05 AC 69 ms
71,280 KB
testcase_06 AC 69 ms
71,360 KB
testcase_07 AC 68 ms
71,408 KB
testcase_08 AC 69 ms
71,332 KB
testcase_09 AC 70 ms
71,284 KB
testcase_10 AC 71 ms
71,412 KB
testcase_11 AC 69 ms
71,284 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

L, M, N = [int(input()) for _ in range(3)]

q, r = divmod(N * 1, 25)
M += q
N = r // 1

q, r = divmod(M * 25, 100)
L += q
M = r // 25

_, r = divmod(L * 100, 1000)
L = r // 100

ans = (L + M + N)
print(ans)
0