C语言程序设计教程(第三版)课后习题10.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int n, m, i, j; char a[100], b[1…… 题解列表 2019年04月08日 0 点赞 0 评论 547 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.4 (C++代码) 摘要:解题思路:题目只说是排好序的数列,可没说是升序还是降序。注意事项:参考代码:#include<iostream>using namespace std;int main(){ const int…… 题解列表 2019年04月08日 0 点赞 0 评论 827 浏览 评分:0.0
查找最大元素 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include "stdio.h"#include "string.h"int main(){ char str[150]; memset(str,0,sizeof(s…… 题解列表 2019年04月08日 1 点赞 0 评论 1012 浏览 评分:0.0
蓝桥杯算法提高VIP-阶乘差 (C语言代码) 摘要:解题思路:就是一个阶乘的函数(递归),然后就带公式注意事项:long long类型要注意参考代码:#include<stdio.h>long long int jiec(long long int n…… 题解列表 2019年04月08日 1 点赞 0 评论 870 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.1 (C语言代码) 摘要:解题思路:用递归和更相相减术解决问题注意事项:参考代码:#include<stdio.h>#include<math.h>static int gxxjs(int a, int b);int the_…… 题解列表 2019年04月08日 0 点赞 0 评论 581 浏览 评分:0.0
不容易系列 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> #include<string> #include<algorithm> using na…… 题解列表 2019年04月09日 1 点赞 0 评论 852 浏览 评分:0.0
【偶数求和】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[101]; int c[101]; int i,k; int n,m; …… 题解列表 2019年04月09日 0 点赞 0 评论 1025 浏览 评分:0.0
计算某日在那年中是第几天(注意闰年) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct YMD{ int year; int month; int day;};int main(){ s…… 题解列表 2019年04月09日 0 点赞 0 评论 680 浏览 评分:0.0
不容易系列 (C语言代码)(点我有惊喜) 摘要:解题思路:利用while和for循环 注意事项:注意等量关系即可参考代码:#include<stdio.h>int main(void){ int n, a[30],i,sum; scanf("…… 题解列表 2019年04月09日 0 点赞 0 评论 862 浏览 评分:0.0