azi1997
azi1997
全部文章
分类
归档
标签
去牛客网
登录
/
注册
azi1997的博客
全部文章
(共15篇)
题解 | #二分查找-I#
# # 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 # # # @param nums int整型一维数组 # @param target int整型 # @return int整型 # class Solution: def search(self , ...
2024-07-05
0
164
题解 | #DNA序列#
while True: try: s = input() &nbs...
Python3
2022-09-02
0
327
题解 | #字符串合并处理#
while True: try: str1, str2 = input().split() ...
Python3
2022-09-02
0
334
题解 | #字符串通配符#
import re while True: try: s = input().lower() &nbs...
Python3
字符串
2022-08-31
1
329
题解 | #求解立方根#
while True: try: val = float(input()) &...
Python3
数学
2022-08-31
1
507
题解 | #简单密码#
方法1, 使用if-else语句,遍历所有 while True: try: s = input() &n...
Python3
2022-08-22
0
284
题解 | #简单密码#
方法1, 使用if-else语句,遍历所有 while True: try: s = input() &n...
Python3
2022-08-22
0
289
题解 | #字符串排序#
while True: try: s = input() &nbs...
Python3
2022-08-22
0
308
题解 | #单词倒排#
思路一: 使用正则表达式找到所有单词, reverse, 符合长度条件输出 ## import re x = input() words = re.findall(r"[a-zA-Z]+",x) words.reverse() le...
Python3
2022-08-21
0
334
题解 | #删除字符串中出现次数最少的字符#
x = input() if len(x) in range(1,21) and x.islower(): strs = list(x) ...
Python3
2022-08-21
0
345
首页
上一页
1
2
下一页
末页