题解列表

筛选

2576——————解码

摘要: n = input() #输入字符串 H3el5o2 s = '' #建空字符串 because输入是字符串 for i in range(len(n……

就循环判断呗

摘要:解题思路:注意事项:参考代码:while True:     n=int(input())     if n!=0:                       &nbs

数组的距离-Python

摘要:解题思路:    没有技巧,直接全部算出来取最小哈哈,说下代码思路    以a1 a2 a3 a4 a5       b1 b2 b3 b4 b5 为例(ai, bi, i=1,2,3,4,5)   ……

没什么特别的

摘要:解题思路:注意事项:参考代码:a,n=map(int,input().split()) s=0 b=str(a) for i in range(n):     s+=int(b)     a……