結果

問題 No.32 貯金箱の憂鬱
ユーザー Shoya SATO
提出日時 2020-10-08 15:43:28
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 333 bytes
コンパイル時間 121 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-07-20 05:55:40
合計ジャッジ時間 1,202 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 11
権限があれば一括ダウンロードができます

ソースコード

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