python 40
查看原帖
python 40
966040
HAPPY804楼主2024/5/5 09:08
a=input().split()
x=int(a[0])
y=int(a[1])
p=0
if y!=0 and x!=0:
    if y>x:
        p+=x*90
        y=y-x
    else:
        p+=y*90
        x=x-y
p+=x*60+y*40
print(p)
2024/5/5 09:08
加载中...