题解列表

筛选

1098: 陶陶摘苹果

摘要:解题思路:估计原题是中等题,这个是阉割版,完全没有算法可言。注意事项:找找原题吧。参考代码:#include <iostream> using namespace std; const i……
优质题解

列出最简真分数序列(c及c++)

摘要:解题思路:先求出40的因数,然后再用40以内的数与这些因数一一判断是否可以整除,如果都不能则输出注意事项:注意1和40;参考代码:/*C++参考代码*/ #include<iostream> ……

嵌套for循环输出九九乘法表

摘要:解题思路:运用嵌套的for循环输出乘法口诀表参考代码:#include <stdio.h> int main() {     for (int i = 1; i < 10; i++)   ……

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[……