武定路0913
武定路0913
全部文章
分类
题解(18)
归档
标签
去牛客网
登录
/
注册
武定路0913的博客
全部文章
(共17篇)
题解 | #提取不重复的整数#
l = 0 r = len(n) - 1 hash = {} res_list = [] while r >= l: # print(n[r]) if n[r] not in hash: hash[n[r]] = r res_list.appe...
Python3
2022-03-18
0
310
题解 | #等差数列#
1.先创造等差数列 2.然后把等差数列累加 n = int(input()) init = 2 interval = 3 res = 0 for each in range(...
Python3
2022-03-18
0
276
题解 | #坐标移动#
while True: try: input_str_list = input().split(";") &nbs...
Python3
2021-11-29
0
402
题解 | #输入整型数组和排序标识,对其元素按照升序或降序进行排序#
while True: try: num = int(input()) &nb...
Python3
2021-11-28
0
376
题解 | #取近似值#
while True: try: input_str = input() &n...
Python3
2021-11-28
0
314
题解 | #求int型正整数在内存中存储时1的个数#
while True: try: input_int = int(input()) &nb...
Python3
2021-11-28
0
371
题解 | #输出单向链表中倒数第k个结点#
while True: try: count = int(input()) &...
Python3
2021-11-28
0
390
题解 | #字符串加解密#
import string upper_char_list = list(string.ascii_uppercase) lower_char_list = list(string.ascii_lowercase) while True...
Python3
2021-11-28
0
379
题解 | #记负均正II#
temp_list = [] while True: try: num = int(input()) &n...
Python3
2021-11-27
0
433
题解 | #字符串分隔#
while True: try: want_str = input() &nb...
Python3
2021-11-26
0
421
首页
上一页
1
2
下一页
末页