結果

問題 No.32 貯金箱の憂鬱
ユーザー splash9494splash9494
提出日時 2020-05-02 19:41:41
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 77 ms / 5,000 ms
コード長 224 bytes
コンパイル時間 370 ms
コンパイル使用メモリ 86,952 KB
実行使用メモリ 71,280 KB
最終ジャッジ日時 2023-09-30 14:05:11
合計ジャッジ時間 2,265 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
70,900 KB
testcase_01 AC 77 ms
71,156 KB
testcase_02 AC 72 ms
71,024 KB
testcase_03 AC 73 ms
71,060 KB
testcase_04 AC 73 ms
71,276 KB
testcase_05 AC 72 ms
71,116 KB
testcase_06 AC 74 ms
71,252 KB
testcase_07 AC 73 ms
70,940 KB
testcase_08 AC 74 ms
71,168 KB
testcase_09 AC 73 ms
71,108 KB
testcase_10 AC 73 ms
71,112 KB
testcase_11 AC 75 ms
71,280 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.buffer.readline

L = int(input())
M = int(input())
N = int(input())

S = (100 * L) + (25 * M) + (1 * N)

S = S % 1000
L2 = S // 100
S = S % 100
M2 = S // 25
S = S % 25
N2 = S

print(L2 + M2 + N2)
0