C语言训练-求函数值 (C语言代码)(递归) 摘要:解题思路:注意事项:参考代码:/*按如下递归公式求函数值。 x=1时 f(x)=10;x>1时 f(x)=f(x-1)+2*/#include <stdio.h>int f(int x);int ma…… 题解列表 2018年03月08日 1 点赞 0 评论 1619 浏览 评分:0.0
Tom数 (Java代码) 摘要:解题思路:由于数字太大,所以不能使用int 或 long所以考虑用 String注意事项:参考代码:import java.util.Scanner;public class Main { publ…… 题解列表 2018年03月08日 0 点赞 0 评论 751 浏览 评分:0.0
IP判断 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class A1116 { public static void main(String args[]) …… 题解列表 2018年03月08日 0 点赞 0 评论 1328 浏览 评分:0.0
蓝桥杯基础练习VIP-回形取数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int num[1000005],nums=0;int main(){ in…… 题解列表 2018年03月08日 0 点赞 0 评论 707 浏览 评分:0.0
蓝桥杯基础练习VIP-龟兔赛跑预测 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int num[1000005],nums=0;int main(){ in…… 题解列表 2018年03月08日 0 点赞 0 评论 781 浏览 评分:0.0
蓝桥杯算法提高VIP-寻找三位数 (C++代码) 摘要:#include<iostream> #include<algorithm> using namespace std; int judge(int i,int j,int k){ in…… 题解列表 2018年03月08日 1 点赞 0 评论 1428 浏览 评分:0.0
罗列完美数 (C语言代码) 摘要:解题思路:注意事项:大循环之后要将sum归0参考代码:int main(){ int i,N,X,sum; sum=0; scanf("%d",&N); for(X=1;X<N…… 题解列表 2018年03月08日 1 点赞 0 评论 781 浏览 评分:0.0
蓝桥杯算法提高VIP-不同单词个数统计 (C语言代码) 摘要:解题思路:先识别单词,再统计注意事项:参考代码:#include<stdio.h>#include<string.h>#define MAX 1000int main(){ char str[M…… 题解列表 2018年03月08日 0 点赞 0 评论 1102 浏览 评分:0.0
蓝桥杯历届试题-打印十字图 (C语言代码) 摘要:解题思路:模拟注意事项:参考代码:#include<iostream> using namespace std;#include<string.h>int main(){ char a[130][1…… 题解列表 2018年03月09日 1 点赞 0 评论 962 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题4.9 (C语言代码) 摘要:注意事项:输出为c=-40.00而不是-40.00参考代码:float F, c; scanf("%f", &F); c = 5 * (F - 32) / 9; printf("c=%.2f", c)…… 题解列表 2018年03月09日 0 点赞 0 评论 576 浏览 评分:0.0