可导必连续^-^
可导必连续^-^
全部文章
题解
归档
标签
去牛客网
登录
/
注册
可导必连续^-^的博客
可导必连续,连续不一定可导
全部文章
/ 题解
(共70篇)
题解 | #求最大连续bit数#
来自专栏
while True: try: num = int(input()) a = bin(num) a = a[2:] a = list(a) max_len = 0 d = [] ...
Python3
数组
字符串
2022-02-13
0
380
题解 | #统计大写字母个数#
来自专栏
while True: try: a = list(input()) count = 0 for i in range(len(a)): if(a[i].isupper()): #判断每个字符是否大写 ...
Python3
字符串
2022-02-13
0
297
题解 | #参数解析#
来自专栏
while True: try: a = list(input()) k = 0 d = [] for i in range(len(a)): if(a[i] == '"'): #记住引号的位置 ...
Python3
字符串
数组
2022-02-13
3
381
题解 | #字符串字符匹配#
来自专栏
while True: try: a = list(input()) b = list(input()) len_a = len(a) len_b = len(b) if(len_a > len_b): #...
Python3
字符串
数组
2022-02-13
0
325
题解 | #整型数组合并#
来自专栏
while True: try: num_1 = int(input()) a = list(map(int,input().split())) num_2 = int(input()) b = list(map(int,inp...
Python3
数组
字符串
2022-02-13
0
287
题解 | #尼科彻斯定理#
来自专栏
找规律,当num = 6 那么就是 6*5 + 1 ,33 ,35, 37 ,39 ,41 (num个数相加) while True: try: num = int(input()) target = num * (num - 1) + 1 ...
Python3
数学
字符串
2022-02-13
0
381
题解 | #公共子串计算#
来自专栏
while True: try: a = list(input()) b = list(input()) c = [] len_a = len(a) len_b = len(b) for i in...
Python3
数组
字符串
动态规划
2022-02-13
0
310
题解 | #字符串通配符#
来自专栏
import re while True: try: a = input() b = input() a = a.lower() b = b.lower() a = a.replace('?','\w{1}')....
Python3
字符串
2022-02-12
10
1326
题解 | #矩阵乘法计算量估算#
来自专栏
while True: try: num = int(input()) matrix = [] for i in range(num): matrix.append(list(map(int,input().split(...
Python3
数组
字符串
2022-02-12
0
411
题解 | #成绩排序#
来自专栏
while True: try: num = int(input()) #输入成绩的人数 sort = int(int(input())) #按哪种排序 name_grade = [] for i in range(num):...
Python3
数组
字符串
2022-02-12
1
401
首页
上一页
1
2
3
4
5
6
7
下一页
末页