C语言程序设计教程(第三版)课后习题6.11 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(void) { float a, x1, x2 = 1; scanf("%f", …… 题解列表 2019年02月07日 0 点赞 0 评论 1683 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.3 (C语言描述,笨方法) 摘要:解题思路: 其实一个数组就搞定,但是硬生生被我想成了二维数组的解法,而且感觉太傻注意事项: &nbs 题解列表 2019年02月07日 0 点赞 0 评论 1325 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.10 (C语言代码) 摘要:解题思路: 循环遍历,然后进行单个字符匹配,如果符合条件就进行转换注意事项:   题解列表 2019年02月07日 0 点赞 0 评论 1484 浏览 评分:0.0
IP判断 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string.h> using namespace std; #define Y 1 #define N …… 题解列表 2019年02月07日 1 点赞 0 评论 1506 浏览 评分:0.0
蓝桥杯算法提高VIP-任意年月日历输出 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int year, month; cin >> year >> mo…… 题解列表 2019年02月07日 0 点赞 0 评论 1378 浏览 评分: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 评论 1837 浏览 评分:0.0
a两段程序为何内存反差(C语言代码) 摘要:解题思路:分别试了两段程序,代码小、变量少的反而所占内存多的意思吗?如下图:注意事项:代码长变量多的程序反而内存少,这是怎么回事?参考代码:第1次的:#include "stdio.h"int mai…… 题解列表 2019年02月08日 0 点赞 0 评论 1140 浏览 评分:0.0
蓝桥杯算法提高VIP-超级玛丽 (C++代码) 摘要:解题思路: 用dfs搜索就好,搜索的时候提前判断是该处是否有坑,该处是否超过小道的长度n,剩下的就是 dfs(step+1)//向前走一步 dfs(step+2) /…… 题解列表 2019年02月08日 0 点赞 0 评论 1102 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,t; scanf("%d%d%d",&a,&b,&c); if(a>b)/…… 题解列表 2019年02月08日 0 点赞 0 评论 1303 浏览 评分:0.0
蓝桥杯2013年第四届真题-买不到的数目 (C++代码) 摘要:解题思路:两个数不能取到的最大数,为两个数的积减去两个数。注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a,b,m;…… 题解列表 2019年02月09日 0 点赞 0 评论 1328 浏览 评分:0.0