牛客416306949号
牛客416306949号
全部文章
分类
题解(7)
归档
标签
去牛客网
登录
/
注册
牛客416306949号的博客
全部文章
(共6篇)
题解 | #蛇形矩阵#
while True: try: n = int(input()) li=[1] for i in range(1 , n): li.append(li[-1]+i) # print(li) l = [] for c, i in enumera...
Python3
2021-11-05
1
539
题解 | #DNA序列#
while True: try: s=str(input()) n=int(input()) i=0 c_max='' GCcount=0 index=0 while i+n<=len(s)...
2021-07-12
0
311
题解 | #统计字符#
while True: try: import string s=str(input()) a=b=c=d=0 for i in s: if i in string.ascii_letters: ...
2021-07-07
0
273
题解 | #参数解析#
通过了13/15个测试例,希望有大佬帮忙解决bug。while True: try: s=str(input()) maxlenth=0 i=0 half=0 c=1 while i+maxlenth<l...
2021-07-05
0
291
题解 | #参数解析#
while True: try: import string s=str(input()) count=0 for i in s: if i in string.ascii_uppercase: ...
2021-07-02
0
349
题解 | #参数解析#
while True: try: str1=str(input()) str1=str1.replace(' ','\n') 去除双引号内的换行 e='' flag= False for i in str1: if i=='&...
2021-07-02
6
812