数学的图表 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b; int n; int i; int count; while(~scan…… 题解列表 2019年01月16日 0 点赞 0 评论 839 浏览 评分:0.0
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:输出超额(没有控制100个字符):#include <stdio.h> int main() { char ch; while((ch=getchar())!='\n&#…… 题解列表 2019年01月16日 0 点赞 0 评论 1319 浏览 评分:8.8
泛型编程思想 之 排序问题<2> (C++语言代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <vector> #include <algorithm> using namespace std; i…… 题解列表 2019年01月16日 1 点赞 0 评论 1009 浏览 评分:0.0
蓝桥杯算法提高VIP-Torry的困惑(提高型) (C++代码) 摘要:解题思路:把求素数的方法变简单注意事项:参考代码:#include <iostream>#include <algorithm>#include <map>#include <math.h>#incl…… 题解列表 2019年01月16日 0 点赞 0 评论 979 浏览 评分:0.0
超级楼梯 (C语言代码)思路明确 摘要:解题思路: 一看到这题应该是递归的,我的思路是一步一步的走完的可能的没有算的,所以走一步,是一种方法,走两步也是一种情况,三步就相当于你走了两步,现在在多走一步,加上,你只走了一步,还差两步,的情况…… 题解列表 2019年01月16日 1 点赞 0 评论 1639 浏览 评分:8.0
贷款计算 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ double a,b,c; scanf("%lf %lf %lf", &a,&c,&b); pri…… 题解列表 2019年01月16日 0 点赞 0 评论 1074 浏览 评分:2.0
Tom数 (Java代码) 摘要:解题思路:水题,t接收一下,每次取余10,把结果加到p上,t再除以10,直到剩余一位数,把它也加到p上注意事项:用long型接收参考代码:import java.util.Scanner; pu…… 题解列表 2019年01月16日 0 点赞 0 评论 905 浏览 评分:0.0
超级楼梯 (C++代码)简单的DFS模版题 摘要:解题思路: 使用简单的深度优先算法解决问题。 1.由于不存在负数的楼梯,本着让数据量最大的原则,使用unsigned long long来做变量。 2.dfs----深度优先算法,将…… 题解列表 2019年01月17日 0 点赞 0 评论 1610 浏览 评分:0.0
程序员爬楼梯 (C++代码)DFS 摘要:解题思路: 直接深度一下解决,爬楼梯的变种题目....难度没啥的。参考代码:#include<bits/stdc++.h> #define hh ios::sync_with_stdio(fa…… 题解列表 2019年01月17日 1 点赞 0 评论 1246 浏览 评分:0.0
蓝桥杯基础练习VIP-高精度加法 (C++代码)模拟手算 摘要:解题思路: 简单的模拟手算的过程。 不懂的看注释参考代码:#include<bits/stdc++.h> using namespace std; const int maxn=100…… 题解列表 2019年01月17日 0 点赞 0 评论 1356 浏览 评分:8.0