【排队买票】 (C语言代码) 摘要:解题思路:我认为最值得一提的是我收获了一个方法,来判断队列是否满足要求1元加12元减1若小于0则不符合要求,排序失败int panduan(int *A,int M,int *sum){ …… 题解列表 2018年08月20日 0 点赞 0 评论 1076 浏览 评分:0.0
母牛的故事 (C语言代码) 摘要:解题思路:首先应该是找出年份见母牛数量之间的关系 成熟 1年 2年 3年 总数1年 1 12年 1 1 2 3年 1 …… 题解列表 2018年08月20日 0 点赞 0 评论 1889 浏览 评分:0.0
明明的随机数 (C语言代码) 摘要:解题思路:先把后面重复的数字记为0,然后排序注意事项:参考代码:#include<stdio.h>int main(){ int n,b,c,i,j,t,a[100]; scanf("%d",…… 题解列表 2018年08月20日 2 点赞 4 评论 2373 浏览 评分:9.9
【求[X,Y]内被除3余1并且被除5余3的整数的和】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,count=0; scanf("%d %d",&a,&b); for(int …… 题解列表 2018年08月20日 0 点赞 0 评论 1004 浏览 评分:0.0
小九九 (C语言代码) 摘要:解题思路:注意事项:占2个位置——%2d 靠左对齐——%-2d参考代码:#include<stdio.h>int main(){ for(int i=1;i<=9;i++){ …… 题解列表 2018年08月20日 0 点赞 0 评论 1193 浏览 评分:0.0
蓝桥杯算法训练VIP-薪水计算 (C语言代码)我认为比较简洁的 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int t; float s,award=0; scanf("%…… 题解列表 2018年08月20日 0 点赞 0 评论 819 浏览 评分:0.0
拆分位数 (C语言代码) 摘要:解题思路:主要是取模的问题注意事项:取模 % 求用它左边的值除以右边的数后的余数 5%3 2 (%运算符两侧的操作数必须为整数) 参考代码:#include<stdio.…… 题解列表 2018年08月20日 1 点赞 1 评论 521 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int i=0; char s[101]; scanf…… 题解列表 2018年08月20日 0 点赞 0 评论 1100 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int i=0; char s[101]; scanf…… 题解列表 2018年08月20日 0 点赞 0 评论 1189 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.4 (C语言代码) 摘要:参考代码:#include <stdio.h>void fun(int a[],int n,int m){ int i,j=0;int b[20]; for(i=n-m;i<n;i++…… 题解列表 2018年08月20日 0 点赞 0 评论 864 浏览 评分:0.0