题解列表

筛选

编写题解 1221: 数列问题

摘要:解题思路:注意事项:参考代码:ls=[3,4,5]n=int(input())for i in range(n-3):    ls.append(ls[-1]+ls[-2]+ls[-3])print(……

编写题解 1219: 数列排序

摘要:解题思路:注意事项:参考代码:n=int(input()) for i in range(n):     ls=list(map(int,input().split()))     t=ls[0……

编写题解 1216: 成绩转换

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

编写题解 1214: 恺撒密码

摘要:解题思路:注意事项:参考代码:dic={     &#39;A&#39;: &#39;V&#39;, &#39;B&#39;: &#39;W&#39;, &#39;C&#39;: &#39;X&#3……

二级C语言-最小绝对值

摘要:解题思路:注意事项:参考代码:a=list(map(int,input().split()))b=[abs(i) for i in a]index=b.index(min(b))a[index],a[……

1211: 平方和与立方和

摘要:解题思路:注意事项:参考代码:while True:     try:         A,B=map(int,input().split())         pin,li=0,0     ……

1049: [编程入门]结构体之时间设计

摘要:解题思路:先给出大致公式,然后再细分不同的情况进行处理注意事项:参考代码:y, m, d = map(int, input().split())num = 30*(m-1) + dfor i in r……