P1058 (C++代码) 摘要:解题思路:注意事项:参考代码:宏伟的程序,我自己看的都头疼:#include <iostream> #define maxn 50 using namespace std; int n,m; …… 题解列表 2018年02月24日 0 点赞 0 评论 1516 浏览 评分:3.0
蓝桥杯算法训练VIP-排列问题 (C语言代码) 摘要:解题思路:全排注意事项:参考代码:#include <stdio.h> int a[11][11]; int b[11]; int bj[11]={0}; int n,k; int sum=…… 题解列表 2018年05月16日 3 点赞 0 评论 1787 浏览 评分:3.0
换硬币 (C语言代码) 摘要:解题思路:有点类似斐波那契数列的递归求解,很简单。注意事项:参考代码:#include <stdio.h> int way(int n) { if(n>2) return way(n-1…… 题解列表 2018年09月08日 0 点赞 0 评论 2157 浏览 评分:3.0
蓝桥杯算法提高VIP-夺宝奇兵 (C语言代码)DP 摘要:解题思路:注意事项:参考代码:#include <cstdio> #include <cstring> #include <string> #include <cmath> #include …… 题解列表 2018年11月06日 1 点赞 0 评论 1044 浏览 评分: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 评论 1154 浏览 评分:3.0
。。依旧简单粗暴。。日期换算 (C语言代码) 摘要:解题思路:因为是固定的2019年,所以每一月都有固定的天数,把x月前面的天数+y日的天数==总天数。 也可以用switch写。注意事项:2019年是平年,…… 题解列表 2019年02月08日 4 点赞 0 评论 1420 浏览 评分:3.0
蓝桥杯算法提高VIP-学霸的迷宫 (C语言代码) 摘要:解题思路: 刚开始没想出到怎么记录路径。。。看了下别人的,用个结构体,在结构体中用string记录路径就好。其他的也没啥可说的。纯bfs,水题注意事项:参考代码:#include <bits/s…… 题解列表 2019年03月03日 0 点赞 0 评论 1222 浏览 评分: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 评论 962 浏览 评分: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 评论 737 浏览 评分:3.0