牛客653653726号
牛客653653726号
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客653653726号的博客
全部文章
(共3篇)
题解 | 字符串排序
s=input().strip() letter=[] for i , c in enumerate(s): if c.isalpha(): letter.append((i,c)) sort_le=sorted(letter,key=lambda x:(x[1].lower...
2025-07-14
0
14
题解 | BFS
s=input().lower() print(s.find('bob'))
2025-07-09
0
18
题解 | 斗兽棋
s=input().split() def f(a,b): if a=='elephant' and b=='tiger': return True elif a=='tiger' and b=='cat': return True elif ...
2025-07-09
0
15