(python3)这末尾怎么非得int一次
查看原帖
(python3)这末尾怎么非得int一次
783672
hanxunda楼主2022/8/30 22:43

l = [int(x) for x in input().split()] s = l[0]*0.2+l[1]*0.3+l[2]*0.5 print(s) 全WA l = [int(x) for x in input().split()] s = l[0]*0.2+l[1]*0.3+l[2]*0.5 print(int(s)) 全AC

2022/8/30 22:43
加载中...