题解 | 百万富翁问题
百万富翁问题
https://www.nowcoder.com/practice/9fe25b6cf93e46dcb09ba67aeef2c4cc
a = 30 * 10 s = 0 for i in range(30): s += 2 ** i print(a,s)
百万富翁问题
https://www.nowcoder.com/practice/9fe25b6cf93e46dcb09ba67aeef2c4cc
a = 30 * 10 s = 0 for i in range(30): s += 2 ** i print(a,s)
相关推荐