题解列表

筛选

Python斐波拉契---本题python无解

摘要:解题思路:   事先说明,本题还没有其他人提供python解法,我也没能解决,这个参考代码不能正确通过题目。                  本题有以下几个难点需要解决:            &nbs

链表合并的详细解法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<malloc.h>typedef struct student//定义学生结构体{    int id;    int……

树状数组,python

摘要:解题思路:注意事项:参考代码:n=int(input())h=list(map(int,input().split()))maxh=max(h)cnt=[0]*(n)c=[0]*(maxh+2)#c[……

超级简单版【c++】

摘要:````cpp #include using namespace std; int months[] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, ……

题解 1070: 二级C语言-成绩归类

摘要:解题思路:循环判断输入的数据注意事项:发现有0或负数时跳出循环,结束输入注意包括0或负数以及之后的数据都不计入统计参考代码:li=li1=[]flg = 0while True:   #循环控制输入 ……