循环数组做法,有用的话点点赞 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;#define maxn 105int a[maxn];int b[maxn];int ma…… 题解列表 2017年12月05日 1 点赞 0 评论 1168 浏览 评分:0.0
循环数组就好啦 摘要:解题思路:循环数组的思想就行拉注意事项:参考代码:#include<cstdio>#include <cstring>#include <ctype.h> using namespace std;in…… 题解列表 2017年12月04日 1 点赞 0 评论 967 浏览 评分:0.0
P1021 (C语言代码) 摘要:为什么运行结果是错的?参考代码:#include<iostream>#include<math.h>using namespace std;#define N 100int main(){ int a…… 题解列表 2017年12月04日 0 点赞 2 评论 677 浏览 评分:0.0
汪汪与打针 (C语言代码) 摘要:解题思路:注意事项:参考代码:#define M 120 //妙三多的价格 #define Y 100 //疫苗的价格 #include <stdio.h> int main(v…… 题解列表 2017年12月04日 0 点赞 0 评论 1732 浏览 评分:0.0
矩阵乘法 (C语言代码) 摘要:解题思路:注意事项:本题主要考察线性代数的知识。注意一些特殊情况。参考代码:#include<stdio.h>int juzheng[3][30][30];int n;int js(int i,int…… 题解列表 2017年12月04日 0 点赞 0 评论 2157 浏览 评分:7.3
WU-C语言程序设计教程(第三版)课后习题8.3 (C语言代码) 摘要:#include<stdio.h> int prime(int N) { int i,flag=1; if(N<1||N==1) { flag=0; return flag…… 题解列表 2017年12月04日 8 点赞 3 评论 1365 浏览 评分:8.0
WU-C语言程序设计教程(第三版)课后习题8.2 (C语言代码) 摘要:#include<stdio.h> #include<math.h> void solve1(double a,double b,double c) { printf("x1=%.3lf "…… 题解列表 2017年12月04日 7 点赞 12 评论 3866 浏览 评分:9.8
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 评论 1855 浏览 评分: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 评论 1398 浏览 评分:0.0
DNA (C++代码)(直接上代码) 摘要:注意:(每组输出有一个空行)cout << endl;cout << endl;参考代码:#include<iostream>using namespace std;void show(int a,i…… 题解列表 2017年12月04日 0 点赞 0 评论 1406 浏览 评分:0.0