骰子指望 拼多多[编程题](python AC解)

思路都写在注释里了python n = int(input()) x = input().split(' ') res = [] maxlen = 0 for each in x: this_x = int(each) maxlen = max(maxlen,this_x) tempres = [(1/this_x) for _ in range(this_x)]
相关文章
相关标签/搜索