牛客290975006号
牛客290975006号
全部文章
分类
题解(2)
归档
标签
去牛客网
登录
/
注册
牛客290975006号的博客
全部文章
(共2篇)
题解 | #求最大连续bit数#
split()一下之后用下set去掉多个分割出来的空值排个序就好了吧 while True: try: x = int(input()) byte_x = bin(x)[2:] list1 = sorted(list(set(byte_x.sp...
Python3
2021-09-24
104
4001
题解 | #整型数组合并#
python用set和list转换一下就可了 while True: try: len1, list1, len2, list2 = int(input()), list(map(int, input().split())), int(input()), list(map(i...
Python3
2021-09-24
1
585