换硬币 (C语言代码) 摘要:解题思路:有点类似斐波那契数列的递归求解,很简单。注意事项:参考代码:#include <stdio.h> int way(int n) { if(n>2) return way(n-1…… 题解列表 2018年09月08日 0 点赞 0 评论 1932 浏览 评分:3.0
蓝桥杯算法提高VIP-夺宝奇兵 (C语言代码)DP 摘要:解题思路:注意事项:参考代码:#include <cstdio> #include <cstring> #include <string> #include <cmath> #include …… 题解列表 2018年11月06日 1 点赞 0 评论 825 浏览 评分:3.0
C语言程序设计教程(第三版)课后习题11.3 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct a{ int score1,score2,score3; char name[10]; char number[10];}…… 题解列表 2019年01月05日 2 点赞 0 评论 940 浏览 评分:3.0
。。依旧简单粗暴。。日期换算 (C语言代码) 摘要:解题思路:因为是固定的2019年,所以每一月都有固定的天数,把x月前面的天数+y日的天数==总天数。 也可以用switch写。注意事项:2019年是平年,…… 题解列表 2019年02月08日 4 点赞 0 评论 1201 浏览 评分:3.0
蓝桥杯算法提高VIP-学霸的迷宫 (C语言代码) 摘要:解题思路: 刚开始没想出到怎么记录路径。。。看了下别人的,用个结构体,在结构体中用string记录路径就好。其他的也没啥可说的。纯bfs,水题注意事项:参考代码:#include <bits/s…… 题解列表 2019年03月03日 0 点赞 0 评论 1013 浏览 评分:3.0
蓝桥杯2013年第四届真题-错误票据 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int n; long int a[100][100]={0…… 题解列表 2019年03月06日 0 点赞 1 评论 883 浏览 评分:3.0
C语言训练-求素数问题 (C语言代码) 摘要:解题思路:参考代码:#include <stdio.h>void main(){ int N,count; scanf("%d",&N); for(int i=2;i<=N;i…… 题解列表 2019年03月19日 2 点赞 0 评论 597 浏览 评分:3.0
(超短代码,你值得拥有) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y; int m; int num1=0,num2=0; scanf("%d",&m); while…… 题解列表 2019年04月02日 0 点赞 0 评论 943 浏览 评分:3.0
25.智慧之轮 (C++代码) 摘要:```cpp #include #include #include using namespace std; int heap[5005]; int pos=0; void up(i…… 题解列表 2019年04月11日 0 点赞 0 评论 845 浏览 评分:3.0
蓝桥杯算法训练VIP-寂寞的数-题解(渣渣的简单思路) 摘要: #include #define N 20000 int main(){ int i,j,n; int t,A[N]={0},dp[N]={0}; …… 题解列表 2019年08月12日 0 点赞 0 评论 790 浏览 评分:3.0