【求[X,Y]内被除3余1并且被除5余3的整数的和】 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> #include <iostream> using namespace std; int main() { …… 题解列表 2019年04月28日 0 点赞 0 评论 1274 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n, i, j, a[6][6], b[6][6], k, t, …… 题解列表 2019年04月29日 0 点赞 0 评论 689 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a; int x = 0, y = 0, z = 0; scanf("%f", &…… 题解列表 2019年04月29日 0 点赞 0 评论 937 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double fact(int k){ if(k == 0 || k == 1) return 1; else…… 题解列表 2019年04月29日 0 点赞 0 评论 832 浏览 评分:0.0
蓝桥杯算法提高VIP-前10名 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int a[2000]; int main() { int n,t; scanf("%d",&n); //输入 …… 题解列表 2019年04月29日 0 点赞 0 评论 1580 浏览 评分:0.0
蓝桥杯算法提高VIP-计算质因子 (C语言代码)所谓质因子 摘要:解题思路:所谓质因子就是 一个数字的因子中是质数的,比如说6中的因子有2,3,其中只有2,3是质数,而8的因子有2,4,但由于4不是质数,所以8的输出只有2.参考代码:#include<stdi…… 题解列表 2019年04月29日 0 点赞 0 评论 840 浏览 评分:0.0
蓝桥杯算法提高VIP-前10名 (C语言代码)冒泡,选择,任选其一!! 摘要:解题思路:冒泡或者选择排序,先排好,再输出!!注意事项:无!!参考代码:#include<stdio.h>int main(){ int n,i,j,t,k; int a[210]; scanf("%…… 题解列表 2019年04月29日 1 点赞 0 评论 826 浏览 评分:0.0
C语言训练-"水仙花数"问题1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n , sum ; cin>>n; if(…… 题解列表 2019年04月29日 0 点赞 0 评论 972 浏览 评分:0.0
超简单方法!!!C语言训练-斐波纳契数列 (C语言代码) 摘要:解题思路:1 0 1 1 2 3 5 8 13...............先令a=1,b=0,这样打印的第一、二个元素就分别为1 1。然后进行循环,循环一次将a=b,b=c;这样从每次打印的c都是前…… 题解列表 2019年04月30日 1 点赞 0 评论 1312 浏览 评分:0.0
[编程入门]宏定义之找最大数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define SORT(a,b,c) {if(a>b&&a>c)printf("%.3f\n",a);else if(b>a&&b>c…… 题解列表 2019年04月30日 0 点赞 0 评论 500 浏览 评分:0.0