蓝桥杯算法提高VIP-彩票 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int n, num, i, x, j; int a[8]={0}, b[8]={0}; num …… 题解列表 2018年10月24日 0 点赞 0 评论 677 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.11 (C语言代码) 摘要:#include<stdio.h>#define max 100int main(){ int N,i,j,t,x,k; int a[max]={0}; scanf("%d",&N)…… 题解列表 2018年10月24日 0 点赞 0 评论 614 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.11 (C语言代码) 摘要:#include<stdio.h>#include "math.h"int main(){ double x1,x2,a; scanf("%lf",&a); x1=1; do …… 题解列表 2018年10月24日 0 点赞 0 评论 567 浏览 评分:0.0
【回文数(二)】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include <string.h> #define N 200 void reverse(char a[],char b[]…… 题解列表 2018年10月30日 2 点赞 2 评论 528 浏览 评分:0.0
汽水瓶 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<math.h>int function(int n){ int a1; …… 题解列表 2018年10月25日 0 点赞 0 评论 577 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.5 (C语言代码) 摘要:#include "stdafx.h"#define max 1000#define number 3int main(){ int n,i; int a[max] = { 0 }, flag = 0…… 题解列表 2018年10月25日 0 点赞 0 评论 589 浏览 评分:0.0
C二级辅导-进制转换 (C语言代码) 摘要:#include "stdafx.h"int main(){ int n,a[1000],t,i=0; scanf("%d", &n); do { t = n % 8; a[i++] = t; …… 题解列表 2018年10月25日 0 点赞 0 评论 571 浏览 评分:0.0
C二级辅导-温度转换 (C语言代码) 摘要:#include "stdafx.h"int main(){ double c, f; scanf("%lf", &f); c = (f - 32)*5.0 / 9.0; printf("%.2lf"…… 题解列表 2018年10月25日 0 点赞 0 评论 587 浏览 评分:0.0
C二级辅导-分段函数 (C语言代码) 摘要:#include "stdafx.h"double f(double x){ if (x < 1) return x; else if (x >= 1 && x < 10) return 2 * …… 题解列表 2018年10月25日 0 点赞 0 评论 668 浏览 评分:0.0
C二级辅导-求偶数和 (C语言代码) 摘要:#include "stdafx.h"int main(){ int n,i,t,s=0; scanf("%d", &n); for (i = 0; i < n; i++) { scanf("%d"…… 题解列表 2018年10月25日 0 点赞 0 评论 650 浏览 评分:0.0