結果

問題 No.32 貯金箱の憂鬱
ユーザー soupesuteakasoupesuteaka
提出日時 2016-03-03 20:52:41
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 23 ms / 5,000 ms
コード長 329 bytes
コンパイル時間 110 ms
コンパイル使用メモリ 10,588 KB
実行使用メモリ 8,852 KB
最終ジャッジ日時 2023-09-30 08:03:39
合計ジャッジ時間 1,063 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 22 ms
8,724 KB
testcase_01 AC 23 ms
8,644 KB
testcase_02 AC 21 ms
8,852 KB
testcase_03 AC 21 ms
8,780 KB
testcase_04 AC 20 ms
8,704 KB
testcase_05 AC 20 ms
8,768 KB
testcase_06 AC 20 ms
8,800 KB
testcase_07 AC 20 ms
8,668 KB
testcase_08 AC 20 ms
8,672 KB
testcase_09 AC 20 ms
8,676 KB
testcase_10 AC 21 ms
8,808 KB
testcase_11 AC 20 ms
8,712 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#coding: UTF-8

import sys
from math import pi
from collections import deque
from functools import reduce

### defs ###

### main ###
L,M,N = map(int,sys.stdin.readlines())
money = L*100 + M*25 + N
money -= money//1000*1000
ans = money//100
money -= money//100 * 100
ans += money//25
money -= money//25*25
ans += money
print(ans)
0