题解列表

筛选

思路简单的方法

摘要:解题思路:注意事项:参考代码:n = int(input())for i in range(2,n):    for j in range(2,i):        if i%j==0:       ……

1003: [编程入门]密码破译

摘要:解题思路:注意事项:参考代码:str = input().lower() s = "" for i in str:     if i == 'w':         s += ……

编写题解 1118: Tom数

摘要:解题思路:注意事项:参考代码:while True:     try:         print(sum(list(map(int, input()))))     except:     ……

纪念品分组

摘要:解题思路:w=int(input())n=int(input())a=[]for i in range(n):    x=int(input())    a.append(x)a=sorted(a,r……