青菜一号
青菜一号
全部文章
分类
题解(1)
归档
标签
去牛客网
登录
/
注册
青菜一号的博客
全部文章
(共1篇)
题解 | #求最大连续bit数#
看起来没有用split()的精妙,但效率似乎更高。 while True: try: x=int(input()) str1=bin(x) count=0 max_count=0 for i in str1: ...
Python3
2022-04-19
23
420