DNA (C++代码)(直接上代码) 摘要:注意:(每组输出有一个空行)cout << endl;cout << endl;参考代码:#include<iostream>using namespace std;void show(int a,i…… 题解列表 2017年12月04日 0 点赞 0 评论 1183 浏览 评分:0.0
WU-C语言程序设计教程(第三版)课后习题7.5 (C语言代码)(10行代码解决问题) 摘要:#include<stdio.h> int main() { int a[10],i; for(i=0;i<10;i++) scanf("%d",&a[i]); for(i=9;…… 题解列表 2017年12月04日 3 点赞 0 评论 1130 浏览 评分:0.0
WU-C语言程序设计教程(第三版)课后习题8.1 (C语言代码) 摘要:#include<stdio.h> int maxyue(int a,int b) { int c; while(b!=0) { c=a%b; a=b; b=c; } …… 题解列表 2017年12月04日 21 点赞 6 评论 1766 浏览 评分:0.0
汪汪与打针 (C语言代码) 摘要:解题思路:注意事项:参考代码:#define M 120 //妙三多的价格 #define Y 100 //疫苗的价格 #include <stdio.h> int main(v…… 题解列表 2017年12月04日 0 点赞 0 评论 1253 浏览 评分:0.0
P1021 (C语言代码) 摘要:为什么运行结果是错的?参考代码:#include<iostream>#include<math.h>using namespace std;#define N 100int main(){ int a…… 题解列表 2017年12月04日 0 点赞 2 评论 583 浏览 评分:0.0
循环数组就好啦 摘要:解题思路:循环数组的思想就行拉注意事项:参考代码:#include<cstdio>#include <cstring>#include <ctype.h> using namespace std;in…… 题解列表 2017年12月04日 1 点赞 0 评论 857 浏览 评分:0.0
循环数组做法,有用的话点点赞 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;#define maxn 105int a[maxn];int b[maxn];int ma…… 题解列表 2017年12月05日 1 点赞 0 评论 876 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题12.5 (C语言代码) 摘要:#include<stdio.h>int move(value, n){ int a[32]; int i; for(i=0;i<32;i++) a[i]=value%2,value=value/2…… 题解列表 2017年12月05日 0 点赞 0 评论 846 浏览 评分:0.0
母牛的故事 (C语言代码) 摘要:解题思路:首先看清题目,明白当n=5时,母牛数量为6的含义,然后慢慢列数列,找规律,你会发现n>4时,第n年的母牛数量等于第n-1年母牛的数量在再上第n-3年母牛的数量(因为这些母牛都会在他们的第四年…… 题解列表 2017年12月05日 0 点赞 0 评论 696 浏览 评分:0.0
WU-C语言程序设计教程(第三版)课后习题8.4 (C语言代码) 摘要:#include<stdio.h> void change(int a[][3]) { int i,j,t; for(i=0;i<3;i++) { for(j=i;j<3;j++…… 题解列表 2017年12月05日 13 点赞 6 评论 745 浏览 评分:0.0