結果

問題 No.32 貯金箱の憂鬱
ユーザー Shoya SATOShoya SATO
提出日時 2020-10-08 15:43:28
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 333 bytes
コンパイル時間 75 ms
コンパイル使用メモリ 10,700 KB
実行使用メモリ 7,996 KB
最終ジャッジ日時 2023-09-27 11:50:32
合計ジャッジ時間 981 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

l100=int(input())
m25=int(input())
n1=int(input())
o1000=0

while n1 >= 25:
    n1-=25
    m25+=1
#print(o1000,l100,m25,n1,'step1')
while m25 >= 4:
    m25-=4
    l100+=1
#print(o1000,l100,m25,n1,'step2')
while l100 >= 10:
    l100-=10
    o1000+=1
#print(o1000,l100,m25,n1,'step3')
print(o1000+l100+m25+n1)
#print(o1000,l100,m25,n1)
0