蓝桥杯算法提高VIP-超级玛丽 (C++代码) 摘要:解题思路: 用dfs搜索就好,搜索的时候提前判断是该处是否有坑,该处是否超过小道的长度n,剩下的就是 dfs(step+1)//向前走一步 dfs(step+2) /…… 题解列表 2019年02月08日 0 点赞 0 评论 759 浏览 评分:0.0
a两段程序为何内存反差(C语言代码) 摘要:解题思路:分别试了两段程序,代码小、变量少的反而所占内存多的意思吗?如下图:注意事项:代码长变量多的程序反而内存少,这是怎么回事?参考代码:第1次的:#include "stdio.h"int mai…… 题解列表 2019年02月08日 0 点赞 0 评论 632 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { char a[100],b[100]; int n,m,s=0; scanf("%d",&n…… 题解列表 2019年02月07日 1 点赞 0 评论 1188 浏览 评分:0.0
蓝桥杯算法提高VIP-任意年月日历输出 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int year, month; cin >> year >> mo…… 题解列表 2019年02月07日 0 点赞 0 评论 1033 浏览 评分:0.0
IP判断 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string.h> using namespace std; #define Y 1 #define N …… 题解列表 2019年02月07日 1 点赞 0 评论 967 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.10 (C语言代码) 摘要:解题思路: 循环遍历,然后进行单个字符匹配,如果符合条件就进行转换注意事项:   题解列表 2019年02月07日 0 点赞 0 评论 1104 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.3 (C语言描述,笨方法) 摘要:解题思路: 其实一个数组就搞定,但是硬生生被我想成了二维数组的解法,而且感觉太傻注意事项: &nbs 题解列表 2019年02月07日 0 点赞 0 评论 993 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.11 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(void) { float a, x1, x2 = 1; scanf("%f", …… 题解列表 2019年02月07日 0 点赞 0 评论 1213 浏览 评分:0.0
蓝桥杯算法提高VIP-贪吃的大嘴 (C++代码)(动态规划) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<algorithm> int m,n; int cakeMWD[50],cakeNum[50]; int d…… 题解列表 2019年02月07日 0 点赞 0 评论 1372 浏览 评分:5.6
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路: 先利用scanf会自动识别空格,把10个数字一个一个存进数组a; → 再将数组每一个数字加起来,存给sum; → 再用sum/10得出平均数average; → 再利用for…… 题解列表 2019年02月07日 0 点赞 0 评论 1880 浏览 评分:8.0