老司机叫你上车
老司机叫你上车
全部文章
题解
归档
标签
去牛客网
登录
/
注册
老司机叫你上车的博客
全部文章
/ 题解
(共3篇)
题解 | #求最大连续bit数#
while True: try: n = int(input()) binary = str(bin(n)[2:]) # [2:]去掉0b s = binary.split('0') cnt = 0 ...
Python3
2021-10-17
0
387
题解 | #最长回文子串#
while True: try: s = input() res = [] for i in range(len(s)): for j in range(i+1, len(s)+1): ...
Python3
2021-10-17
108
6828
题解 | #参数解析#
while True: try: s = str(input()) #print(s) o, e = [], '' #print(e) flag = False for i in s: ...
Python3
2021-10-13
0
477