C语言训练-8除不尽的数 (C++代码) 摘要:解题思路:题里不是都说了么结果是1993,,简单粗暴的直接输出就好了啊。。注意事项:要什么注意事项,,格式可以注意一下hhh参考代码:#include<stdio.h> int main() { …… 题解列表 2017年07月28日 2 点赞 1 评论 1410 浏览 评分:0.0
C二级辅导-计负均正 (C++代码) 摘要:解题思路:统计正数和负数个数以及正数的和并输出负数个数及正数平均数注意事项:1.输出结果保留两位小数。。2.计算和sum一定要用浮点型,,推荐使用double。。3.注意输入数据如果为零问题——及正数…… 题解列表 2017年07月28日 1 点赞 0 评论 2354 浏览 评分:0.0
A+B for Input-Output Practice (II) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include"stdio.h" int main() { int n; scanf("%d",&n); while(n>0) { int a,b; s…… 题解列表 2017年07月28日 0 点赞 0 评论 1488 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.1 (C语言代码) 摘要:解题思路:注意事项:最小公倍数可以为:两数相乘除以最大公约数;最大公约数可以采用辗转相除法;参考代码:#include <stdio.h> int main() { int m,n; …… 题解列表 2017年07月28日 1 点赞 0 评论 1733 浏览 评分:0.0
C语言训练-排序问题<1> (C语言代码) 摘要:#include<algorithm> #include<cstdio> using namespace std; int main(void) { int a[4]; s…… 题解列表 2017年07月28日 1 点赞 1 评论 1428 浏览 评分:0.0
明明的随机数 (C++代码) 摘要:#include<iostream> #include<cstdio> #include<algorithm> #include<set> using namespace std; int …… 题解列表 2017年07月28日 2 点赞 0 评论 2086 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>main(){ printf("************************** Hello World! *********…… 题解列表 2017年07月28日 0 点赞 0 评论 1552 浏览 评分:0.0
【数组的距离】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int f[1000],g[1000],i,j,m,n,t[1000001]={0},k=0,l,min;…… 题解列表 2017年07月29日 0 点赞 0 评论 1612 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; a=1; b=1; c=a+b; scanf("c=%d",c); }…… 题解列表 2017年07月29日 4 点赞 0 评论 1890 浏览 评分:0.0
【明明的随机数】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100],i,j,m,k=1,t; scanf("%d",&m); for(i=0…… 题解列表 2017年07月29日 0 点赞 0 评论 1712 浏览 评分:0.0