C语言程序设计教程(第三版)课后习题9.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define Mod(x,y) x=x%yint main(){ int x,y; scanf("%d %d",&x,&y…… 题解列表 2018年03月27日 0 点赞 0 评论 842 浏览 评分:0.0
蓝桥杯算法提高VIP-和最大子序列 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int M=100001; int map[M]; int Max; …… 题解列表 2018年03月27日 0 点赞 0 评论 968 浏览 评分:0.0
蓝桥杯算法提高VIP-最小乘积(提高型) (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; const int M=10001; in…… 题解列表 2018年03月27日 0 点赞 0 评论 1515 浏览 评分:0.0
C二级辅导-统计字符 (Java代码) 摘要:解题思路: 该题是用来求一个字符串其中的字母个数、空格个数、数字的个数以及其他字符的个数 这样的话我们先分析题意,我们可以把一个字符串转化为一个字符数组,转化为字符数组之后 …… 题解列表 2018年03月27日 3 点赞 0 评论 1772 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码)字符串相互赋值 以及需要注意的情况 摘要:参考代码如下:#include <stdio.h> #include <string.h> #define STR_LEN 256 void strconvert(char *str) …… 题解列表 2018年03月27日 1 点赞 0 评论 1176 浏览 评分:0.0
滴滴滴 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#define S(a,b,c) (1.0*(a+b+c)/2)#define area(s,a,b,c…… 题解列表 2018年03月27日 0 点赞 0 评论 960 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C语言代码)自定义函数实现两个字符串连接 摘要:有点不明白为啥大家都不按题目要求来解题。。为了刷题而刷题嘛哈哈哈哈!下面是我的答案,仅供参考:#include <stdio.h> #include <string.h> #include <st…… 题解列表 2018年03月27日 1 点赞 0 评论 1617 浏览 评分:0.0
滴滴滴 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define LEAP_YEAR(y) ((y%4==0&&y%100!=0)||y%400==0)int main(){ in…… 题解列表 2018年03月27日 0 点赞 0 评论 851 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.7 (C语言代码)找到原字符串中元音字符组成新的字符串 摘要:参考代码如下:#include <stdio.h> #include <string.h> #include <stdlib.h> char *find_vowels(char *str) …… 题解列表 2018年03月27日 1 点赞 0 评论 1253 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; printf("请输入一个不超过5位的整数\n"); scanf("%d",&a…… 题解列表 2018年03月27日 0 点赞 0 评论 878 浏览 评分:0.0