蓝桥杯算法提高VIP-数组输出 (小白易懂) 摘要:解题思路:注意事项:1·因为是双重循环,所以在判断时要注意两次连着退出。2·输出的是绝对值最大的数的绝对值!参考代码:#include<stdio.h>#include<math.h>int main…… 题解列表 2019年04月07日 1 点赞 0 评论 857 浏览 评分:0.0
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 评论 544 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.4 (C++代码) 摘要:解题思路:题目只说是排好序的数列,可没说是升序还是降序。注意事项:参考代码:#include<iostream>using namespace std;int main(){ const int…… 题解列表 2019年04月08日 0 点赞 0 评论 818 浏览 评分:0.0
查找最大元素 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include "stdio.h"#include "string.h"int main(){ char str[150]; memset(str,0,sizeof(s…… 题解列表 2019年04月08日 1 点赞 0 评论 998 浏览 评分:0.0
蓝桥杯算法提高VIP-阶乘差 (C语言代码) 摘要:解题思路:就是一个阶乘的函数(递归),然后就带公式注意事项:long long类型要注意参考代码:#include<stdio.h>long long int jiec(long long int n…… 题解列表 2019年04月08日 1 点赞 0 评论 865 浏览 评分: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 评论 570 浏览 评分:0.0
不容易系列 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> #include<string> #include<algorithm> using na…… 题解列表 2019年04月09日 1 点赞 0 评论 832 浏览 评分: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 评论 1010 浏览 评分:0.0
计算某日在那年中是第几天(注意闰年) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct YMD{ int year; int month; int day;};int main(){ s…… 题解列表 2019年04月09日 0 点赞 0 评论 675 浏览 评分:0.0