骰子指望 拼多多[編程題](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)]
相關文章
相關標籤/搜索