题解列表
1131:Java训练-斐波纳契数列
摘要:```java
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
S……
关键词:指针、数组和函数之间地址的传递
摘要:参考代码:#include <stdio.h>
#include <math.h>
#include <string.h>
void sort(char **p,int n) //用于排序的……
小白练习运用递归来写等差数列求和
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int fab(int x){//递归算法if(x==1)//结束递归的条件return 3*x-1;elsereturn 3*x-1+……
2986: 判断元素是否存在,递推解法!!!
摘要:解题思路: 注意输入中间有一个逗号,一开始没注意错的都让我怀疑题目有问题了,呜呜呜注意事项:参考代码:#include"bits/stdc++.h"
using namespace std;
……
蓝桥杯2024年第十五届省赛真题-好数
摘要:解题思路:非常规解法,专门对付10^18次方的大数量级注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int k1[]={1,3,5,7,9}……