摘要:
concurrent.futures异步库使用: 1.简单函数使用 import time from concurrent import futures from concurrent.futures._base import Future from concurrent.futures.threa 阅读全文
摘要:
昨天的题不是不是很难,都会有自己的解法. class Solution(object): def countBits0(self, num: int): """暴力统计""" res = [] for i in range(num + 1): res.append(bin(i).count("1") 阅读全文