Lucky Word-题解(C++代码)--------------思路清晰,满分注解代码,确定不康康嘛~~--------------- 摘要:------------ 题目描述: 笨小猴的词汇量很小,所以每次做英语选择题的时候都很头疼。但是他找到了一种方法,经试验证明,用这种方法去选择选项的时候选对的几率非常大! 这种方法的…… 题解列表 2020年05月27日 2 点赞 2 评论 1471 浏览 评分:10.0
二级C语言-计算素数和-题解(C语言代码)·······简单直接,易理解 摘要:```c #include int isprime(int m,int n) { int i,j,sum=0,prime=1; for(i=m;i…… 题解列表 2020年07月26日 1 点赞 0 评论 1438 浏览 评分:10.0
蓝桥杯算法提高VIP-邮票面值设计-题解(C语言代码) 摘要:``` #include #include #include #include #define Max(x,y) x>y?x:y #define Min(x,y) x>y?y:x #de…… 题解列表 2020年07月28日 1 点赞 0 评论 1378 浏览 评分:10.0
汉诺塔-题解(Python代码) 摘要:解题思路: 如果要把n个环从i移动到j分为三个部分: 第一部分: 将前n-1个环移动到另一个柱子上,由于只有三根柱子且分别为1、2、3 =>i + j + 另一根…… 题解列表 2020年09月16日 1 点赞 0 评论 1415 浏览 评分:10.0
蓝桥杯算法提高VIP-淘淘的名单-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int judge(char ch[10]){ char ch1[]="WYS";…… 题解列表 2020年10月02日 1 点赞 0 评论 612 浏览 评分:10.0
蓝桥杯2019年第十届真题-Fibonacci 数列与黄金分割-题解(Python代码) 摘要:解题思路:参考其他大佬思路,将答案预处理,防止超时。注意事项:参考代码:#处理F1和F2等于1的问题,利用递归表示斐波那契def f(n): if n==1 or n==2: re…… 题解列表 2020年10月02日 1 点赞 1 评论 846 浏览 评分:10.0
树查找-题解(C++代码) 摘要:``` #include #include #include using namespace std; int main() {//思路为模拟二叉树的层次遍历 int n; in…… 题解列表 2020年11月04日 1 点赞 0 评论 991 浏览 评分:10.0
优质题解 信息学奥赛一本通T1309-回文数-题解(C++代码) 摘要:解题思路:1、逻辑铺垫:这个题目最重要的无非两个部分:①回文数判断②k进制高精度加法。 在读入输入数据的时候,我们可以把m当成字符串处理,从而简化了后面判断回…… 题解列表 2020年11月23日 0 点赞 1 评论 2767 浏览 评分:10.0
求最大值-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,m,n,max; while(scanf("%d",&n)!=EOF) { max=n; i=0…… 题解列表 2020年11月24日 1 点赞 0 评论 803 浏览 评分:10.0
2007: 计算输入数据的和与乘积 摘要:解题思路:注意事项:输入 0 时要额外赋值pro参考代码:#include <stdio.h> int main(){ int num,sum=0,pro=1; scanf("%d",&nu…… 题解列表 2021年03月05日 0 点赞 1 评论 601 浏览 评分:10.0