結果

問題 No.32 貯金箱の憂鬱
ユーザー HIROPON87069639HIROPON87069639
提出日時 2016-02-21 20:27:22
言語 Python2
(2.7.18)
結果
AC  
実行時間 12 ms / 5,000 ms
コード長 204 bytes
コンパイル時間 437 ms
コンパイル使用メモリ 6,676 KB
実行使用メモリ 6,148 KB
最終ジャッジ日時 2023-09-30 08:03:10
合計ジャッジ時間 1,003 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
6,080 KB
testcase_01 AC 12 ms
6,080 KB
testcase_02 AC 12 ms
6,040 KB
testcase_03 AC 11 ms
5,988 KB
testcase_04 AC 11 ms
5,984 KB
testcase_05 AC 11 ms
6,024 KB
testcase_06 AC 11 ms
5,928 KB
testcase_07 AC 11 ms
5,944 KB
testcase_08 AC 11 ms
5,928 KB
testcase_09 AC 12 ms
5,948 KB
testcase_10 AC 11 ms
6,068 KB
testcase_11 AC 11 ms
6,148 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding: utf-8 -*-
L = input()
M = input()
N = input()
TOT = 100 * L + 25 * M + N
A1000 = TOT // 1000
TOT %= 1000
A100 = TOT // 100
TOT %= 100
A25 = TOT // 25
TOT %= 25
A1 = TOT
print A1 + A25 + A100
0