小白思路,简单,易理解 摘要:解题思路:小白思路注意事项:参考代码:# include<stdio.h>int main(){ int i,n; double sum=0,sum2=0; double a1 = …… 题解列表 2018年05月29日 0 点赞 0 评论 1097 浏览 评分:0.0
母牛的故事 (C语言代码) 解题思路:将牛分为四类:当年会产出,次年会产出,两年后会产出以及三年后会产出,即设一个数组a[4],第一年四个元素值为1000;第二年则有1001;第三年则为1011;第三年则为1111;第一个元素次年的数为当年第一个元素与第二个元素之和;第二个元素为第三个元素的值;第三个元素为第四个元素的值;第四个 题解列表 2018年05月29日 0 点赞 0 评论 1156 浏览 评分:0.0
字符串中间和后边*号删除 (C语言代码) 摘要:解题思路:提交是错的注意事项:自己电脑上是对的,帮忙看看参考代码:#include <string.h>#include<stdio.h>void fun(char *a){ int i,j,n,x=…… 题解列表 2018年05月29日 0 点赞 0 评论 1358 浏览 评分:0.0
【亲和数】 (C语言代码) 摘要:解题思路: m控制行数,循环里面输入两个数,通过求出一个数的真约数来与另一个数进行比较注意事项: 1.真约数不可能大于原数的一般,故只需i>=a/2; 2.可…… 题解列表 2018年05月29日 1 点赞 0 评论 1232 浏览 评分:0.0
明明的随机数 (C语言代码) 摘要:#include <stdio.h> int main(){ int m,i,j,t,count=0;scanf("%d",&m); int a[m],b[m]; for(i=0;i<m…… 题解列表 2018年05月29日 0 点赞 0 评论 1681 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:参考代码:#include<stdio.h>struct Date{ int year; int month; int day; int leap; int count;…… 题解列表 2018年05月29日 0 点赞 0 评论 1024 浏览 评分:0.0
校门外的树 (C语言代码) 摘要:#include<stdio.h> int main(){ int m,n,i,j,count=0; scanf("%d%d",&m,&n); int t[m+1],a[n][2];//…… 题解列表 2018年05月29日 0 点赞 0 评论 1227 浏览 评分:0.0
C二级辅导-计负均正 (C语言代码) 摘要:#include <stdio.h> int main(){ int sum=0,count=0,n,i; for(i=0;i<20;i++){ scanf("%d",&n);//读入…… 题解列表 2018年05月29日 0 点赞 0 评论 2308 浏览 评分:0.0
方砖问题 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main{ public static void main(String[] args…… 题解列表 2018年05月29日 0 点赞 0 评论 1700 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b, c; scanf("%d%d%d",&a,&b,&c); int i; float su…… 题解列表 2018年05月28日 0 点赞 0 评论 952 浏览 评分:0.0