蓝桥杯算法训练VIP-传球游戏 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int n,max=0,m;int chuan(int q,int p){ if(q==0)q=n; if(q==n+1)q=1; if…… 题解列表 2019年02月28日 0 点赞 0 评论 517 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.7 (C语言代码) 摘要:解题思路:答案是对的,其中有什么不足,欢迎大家指正。注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[1000],…… 题解列表 2019年02月28日 0 点赞 0 评论 559 浏览 评分:0.0
C语言训练-阶乘和数* (C语言代码) 摘要:解题思路:结合了几个题解可以参考注意事项:参考代码:#include<stdio.h>#include <math.h>int fun(int);int main(){ int i,n,num,…… 题解列表 2019年02月28日 1 点赞 0 评论 662 浏览 评分:0.0
上车人数 (C语言代码)懒人的穷举法 摘要:#include <stdio.h> int main() { int a,n,m,x; scanf("%d %d %d %d",&a,&n,&m,&x); int …… 题解列表 2019年02月28日 2 点赞 1 评论 466 浏览 评分:0.0
管理学院的人数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,m,n,sum=0; do{ scanf("%d",&m); }while(m<=0||m>=2…… 题解列表 2019年02月28日 1 点赞 0 评论 518 浏览 评分:0.0
管理学院的人数 (C语言代码) 摘要:解题思路: sum的简单用法注意事项: 取值范围参考代码:#include<stdio.h>int main() { int m; do { scanf("%d",&m); } while(m<…… 题解列表 2019年02月28日 0 点赞 0 评论 637 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a, b, c, i; float S = 0; sc…… 题解列表 2019年02月28日 0 点赞 0 评论 431 浏览 评分:0.0
C语言训练-委派任务* (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;bool fun1(int a,int b){ if(a+b>=1) return true…… 题解列表 2019年03月01日 0 点赞 1 评论 1277 浏览 评分:0.0
C语言训练-排序问题<1> (C语言代码)快速排序 摘要:解题思路:解题思路在代码的注释里。注意事项:参考代码:#include <stdio.h>#include <string.h>void quickSort(int a[], int p, int r…… 题解列表 2019年03月01日 0 点赞 0 评论 1120 浏览 评分:0.0
C二级辅导-等差数列 (C语言代码) 摘要:解题思路: 1.n个正整数 2.i为2每次加3 3.sum加i 直到n为0注意事项:参考代码:#include <stdio.h> …… 题解列表 2019年03月01日 0 点赞 0 评论 456 浏览 评分:0.0