题解列表

筛选

C语言解法,简单易懂

摘要:解题思路:注意事项:参考代码:#include"stdio.h"int main(){    double f,c;    scanf("%lf",&f);    c=5*(f-32)/9;    p……
优质题解

斐波那契类问题,较简单

摘要:没有java题解我就来写一个吧这题就很像兔子繁殖那题了,简单dp可以解决,题问的成虫不包括幼虫,分下两个数组就好了思路:1、建立两个数组,成虫数组old,幼虫数组young2、前面x-1天,成虫没有产……

小南解题--汉诺塔--248ms

摘要:'''zgn94622:08 2022/5/23'''def hann(n,a,b,c):    #n代表第几块,是第1块时,打印输出    if n=……

是人都能看

摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct chengji{    char xuehao[100];    char mingzi[100];    int c1;……

暴力开解 穷举

摘要:解题思路:注意事项代码:。#include<stdio.h>#include<math.h>int main(){   int a,b,c,d;    double x;    scanf("%d%d……

裸LCA,tarjan离线求即可

摘要:解题思路:注意事项:参考代码:#include <iostream> #include <vector> using namespace std; const int N = 200010;……