C语言程序设计教程(第三版)课后习题11.8 (C语言代码) ————笔记重新看 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<malloc.h>typedef struct student{ int number; int data…… 题解列表 2019年04月07日 0 点赞 0 评论 1223 浏览 评分:0.0
明明的随机数 (C++代码)STL中的set不是刚刚合适嘛 摘要:解题思路: C++中的set容器对输入的数自动排序并去掉重复的注意事项:参考代码:#include<iostream> #include<set> using namespa…… 题解列表 2019年04月13日 0 点赞 0 评论 1469 浏览 评分:0.0
Hello, world! (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int arr[100]; int n=0; while(scanf("%d",&arr[n]…… 题解列表 2019年04月07日 0 点赞 0 评论 794 浏览 评分:0.0
蓝桥杯算法提高VIP-数组输出 (小白易懂) 摘要:解题思路:注意事项:1·因为是双重循环,所以在判断时要注意两次连着退出。2·输出的是绝对值最大的数的绝对值!参考代码:#include<stdio.h>#include<math.h>int main…… 题解列表 2019年04月07日 1 点赞 0 评论 962 浏览 评分: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 评论 629 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.4 (C++代码) 摘要:解题思路:题目只说是排好序的数列,可没说是升序还是降序。注意事项:参考代码:#include<iostream>using namespace std;int main(){ const int…… 题解列表 2019年04月08日 0 点赞 0 评论 997 浏览 评分:0.0
查找最大元素 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include "stdio.h"#include "string.h"int main(){ char str[150]; memset(str,0,sizeof(s…… 题解列表 2019年04月08日 1 点赞 0 评论 1148 浏览 评分:0.0
蓝桥杯算法提高VIP-阶乘差 (C语言代码) 摘要:解题思路:就是一个阶乘的函数(递归),然后就带公式注意事项:long long类型要注意参考代码:#include<stdio.h>long long int jiec(long long int n…… 题解列表 2019年04月08日 1 点赞 0 评论 951 浏览 评分: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 评论 728 浏览 评分:0.0
不容易系列 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> #include<string> #include<algorithm> using na…… 题解列表 2019年04月09日 1 点赞 0 评论 1025 浏览 评分:0.0