牛客464844775号
牛客464844775号
全部文章
题解
归档
标签
去牛客网
登录
/
注册
牛客464844775号的博客
全部文章
/ 题解
(共42篇)
题解 | #成绩排序#
while True: try: n = int(input()) k = int(input()) d...
Python3
2021-12-11
0
377
题解 | #删除字符串中出现次数最少的字符#
while True: try: l = input() dic = {} for i in l: &n...
Python3
2021-12-06
0
373
题解 | #自守数#
while True: try: n = int(input()) ans = 0 &nbs...
Python3
2021-12-06
0
372
题解 | #查找兄弟单词#
while True: try: str1 = input().split() k = str1[-1] ...
Python3
2021-12-05
0
468
题解 | #字符串排序#
while True: try: l = input() z = '' for i in l: &nbs...
Python3
2021-12-05
0
341
题解 | #计算字符串的距离#
while True: try: A,B= input(),input() dd = [[i...
Python3
2021-12-05
1
510
题解 | #字符统计#
while True: try: l = input() dic = {} for i in l: &n...
Python3
2021-12-05
0
462
题解 | #查找两个字符串a,b中的最长公共子串#
while True: try: l1,l2 = input(),input() if len(l1) > len(l2): ...
Python3
2021-12-05
0
393
题解 | #最长回文子串#
l = input() Max = 0 for i in range(len(l)): for j in range(i,len(l)): if l[i:j+1] == l[i:j+1][::-1] and j-i+...
Python3
2021-12-05
14
1519
题解 | #合并表记录#
str1,str2 = input(),input() if len(str1)>len(str2): str1,str2=str2,str1 Max = 0 for i in range(len(str1)): for j in ran...
Python3
2021-12-05
1
370
首页
上一页
1
2
3
4
5
下一页
末页