結果

問題 No.32 貯金箱の憂鬱
ユーザー R NR N
提出日時 2020-07-22 11:22:57
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 268 bytes
コンパイル時間 104 ms
コンパイル使用メモリ 10,624 KB
実行使用メモリ 8,004 KB
最終ジャッジ日時 2023-09-02 00:49:51
合計ジャッジ時間 1,228 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,864 KB
testcase_01 AC 15 ms
7,852 KB
testcase_02 WA -
testcase_03 AC 15 ms
7,880 KB
testcase_04 WA -
testcase_05 AC 15 ms
7,788 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 16 ms
7,828 KB
testcase_09 AC 16 ms
7,824 KB
testcase_10 WA -
testcase_11 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding:utf-8
L, M, N = [int(input()) for i in range(3)]

L_m = L * 100
M_m = M * 25
N_m = N * 1

one = N_m % 25
twentyFive = (N_m - one + M_m) % 100
oneThousand = (M_m - twentyFive + L_m) % 1000
ans = (one // 1) + (twentyFive // 25) + (oneThousand // 100)
print(ans)
0