牛客749773961号
牛客749773961号
全部文章
题解
归档
标签
去牛客网
登录
/
注册
牛客749773961号的博客
全部文章
/ 题解
(共3篇)
题解 | #DN***段#
a = input() j = 0 b = [] dna = ['A', 'T', 'C', 'G'] for i in range(len(a)): if a[i] in dna: j += 1 &n...
Python3
2022-06-27
0
374
题解 | #字符串编码#
a = input() if len(a) == 1: print(f'1{a}') b = '' j = 1 for i in range(1, len(a)): if a[i] == a[i-1]: ...
Python3
2022-06-24
0
318
题解 | #括号匹配深度#
a = input() alist = [] i = 0 for b in a: if b == '(': i += 1 else: ...
Python3
2022-06-23
1
311