C二级辅导-求偶数和 (C语言代码) 摘要:解题思路:可以考虑把奇数都变成零在全部相加注意事项:参考代码:#include<stdio.h> int main(){ int a,b,c=0,i,d; scanf("%d",&…… 题解列表 2019年01月21日 0 点赞 0 评论 733 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.2 (C++代码) 摘要:解题思路:多种排序详解注意事项:参考代码:1.插排//直接插入排序是一种最简单的排序方法, //它的基本操作是将一个记录插入到已经排好序的有序表中, //从而得到一个新的且记录数增加了1的有序表。…… 题解列表 2019年01月21日 1 点赞 3 评论 1879 浏览 评分:8.4
C语言程序设计教程(第三版)课后习题7.4 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; int main(){ int a[10…… 题解列表 2019年01月21日 1 点赞 0 评论 1059 浏览 评分:8.0
junmu1165:【明明的随机数】 利用数组下标,超清新哦 摘要:解题思路: 1.利用数组下标的特点,超方便。 2.就是有时候数组要很大。。。。 3.充分体现了,代码短…… 题解列表 2019年01月22日 1 点赞 0 评论 1658 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.4 (C语言代码) 摘要:解题思路:最后的答案很大,int存不下的.注意事项:long long int在内存中占八个字节,范围是-922337203685775808~922337203685775807double:%lf…… 题解列表 2019年01月22日 1 点赞 0 评论 495 浏览 评分:0.0
蓝桥杯算法训练VIP-集合运算 (C++代码) 摘要:#include <bits/stdc++.h> #include <stdio.h> using namespace std; int a[1005]; int b[1005]; int …… 题解列表 2019年01月22日 0 点赞 0 评论 1125 浏览 评分:9.9
C语言训练-亲密数 (C语言代码) 摘要:解题思路:求解3000以内一个数的因子之和等于另一个数(与前一个数不同)可以用函数方法来处理sumbd 注意事项:三个条件是 A的因子之和等于B;B的因子之和等于A; A不…… 题解列表 2019年01月22日 0 点赞 0 评论 716 浏览 评分:0.0
蓝桥杯算法训练VIP-寂寞的数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int isJmNum(int n) { for(int i=1;i<=n;++i) { // i%10; // …… 题解列表 2019年01月22日 0 点赞 0 评论 907 浏览 评分:0.0
蓝桥杯历届试题-回文数字 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int n;fun(int m){int a,b,c,d,e,f; for(b=1;b<=9;b++) for(c=0;c<=9;c…… 题解列表 2019年01月22日 0 点赞 0 评论 897 浏览 评分:0.0
蓝桥杯算法提高VIP-删除重复元素 (C++代码) 摘要:#include <bits/stdc++.h> using namespace std; int main() { char s[5000]; cin>>s; for(int…… 题解列表 2019年01月22日 0 点赞 0 评论 1183 浏览 评分:6.0