結果

問題 No.32 貯金箱の憂鬱
ユーザー a_tena_ten
提出日時 2016-03-11 18:53:47
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 274 bytes
コンパイル時間 404 ms
コンパイル使用メモリ 7,084 KB
実行使用メモリ 6,452 KB
最終ジャッジ日時 2023-10-25 05:27:04
合計ジャッジ時間 1,162 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

#coding:utf-8

L_c = input()#100yen 
M_c = input()#25yen 
N_c = input()#1yen 

c1 = N_coin % 25#1yen 
c1_25 = N_coin // 25#1->25yen 

c25 = (M_coin + c1_25) % 4#25yen 
c25_100 = (M_coin + c1_25) // 4#25->100yen 

c100 = (L_coin + c25_100) % 10#100yen 

print c1 + c25 + c100
0