2005年春浙江省计算机等级考试二级C 编程题(3),复杂度最低的方法没有之一!!!!! 摘要:#include <stdio.h>#include <math.h>int main(){ int a[6][6]; int n; scanf("%d",&n); int i,j; int max=…… 题解列表 2017年08月19日 0 点赞 0 评论 1277 浏览 评分:5.0
printf基础练习2 (C语言代码) 摘要:解题思路:获取输入数字,转换完成后输出到屏幕。注意事项:转换的数字需要加上前缀。参考代码:#include<stdio.h> { int a; scanf("%d", &a); …… 题解列表 2017年09月12日 3 点赞 1 评论 1239 浏览 评分:5.0
简单的a+b (Java代码) 摘要:解题思路:建立类,然后再创建两个变量,最后将他们加起来即可 注意事项:注意在最后将n变量闭合,不然会出现警告,虽然不影响正常程序的运行,但在以后的代码路程中,良好的习惯还是非常的重要的参考代码:im…… 题解列表 2017年11月23日 2 点赞 1 评论 1229 浏览 评分:5.0
WU-C语言程序设计教程(第三版)课后习题7.1 (C语言代码)(18行解决) 摘要:#include<stdio.h> int main() { int N,i,j,flag; scanf("%d",&N); for(i=2;i<=N;i++) { flag…… 题解列表 2017年12月04日 8 点赞 3 评论 1137 浏览 评分:5.0
明明的随机数 (C++代码) 摘要:解题思路: 先去重,后排序,再输出。注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n[100]; int m…… 题解列表 2017年12月10日 8 点赞 0 评论 2694 浏览 评分:5.0
WU-2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:参考代码:#include<stdio.h> int main() { int a[10],i,N=0; float ave,sum=0; for(i=0;i<10;i++) { …… 题解列表 2017年12月12日 2 点赞 0 评论 2060 浏览 评分:5.0
WU-蓝桥杯算法提高VIP-五次方数 (C++代码) 摘要:解题思路:因为9的5次方*7之后得到的是6位数 所以我们知道结果最多只能为6位数 所以我采用了6重循环 表示从0-999999之间的数 来判断是否符合条件 由于0和1只有1位数 所以不考虑参考代码…… 题解列表 2017年12月12日 8 点赞 2 评论 1122 浏览 评分:5.0
WU-蓝桥杯算法提高VIP-利息计算 (C++代码) 摘要:解题思路:额 很简单的一道题参考代码:#include<iostream> #include<cstdio> using namespace std; int main() { doubl…… 题解列表 2017年12月15日 1 点赞 0 评论 1488 浏览 评分:5.0
【作业调度方案】 (C++代码) 摘要:解题思路:注意事项:参考代码:这道题...我认为是一道不能算“简单”的模拟首先,出题者不仅在考察代码实现能力,更在考验你的语文水平( 唉...... )闲话不多说了,注释都在代码里了...cpp..#…… 题解列表 2017年12月31日 1 点赞 3 评论 1179 浏览 评分:5.0
送分题素数 (C++代码) 摘要:解题思路:两种选择查一下100~200间有那些素数,复制粘贴并打印;2.像我这样编一个输出素数的程序;注意事项:参考代码:#include <stdio.h> int main(){ int i…… 题解列表 2018年01月01日 1 点赞 0 评论 1619 浏览 评分:5.0