蓝桥杯算法训练VIP-学做菜 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int i,a,b,c,d,cai[6]={0,0,0,0,0,0};scanf("%d%d%d%d",&a,…… 题解列表 2018年02月14日 0 点赞 0 评论 1785 浏览 评分:0.0
蓝桥杯算法训练VIP-反置数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int get_f(int shu){int shu_f=0;while(shu){shu_f=10*shu_f+shu%10;shu/…… 题解列表 2018年02月14日 0 点赞 0 评论 1745 浏览 评分:0.0
【出圈】 (C语言代码)循环链表法 摘要:解题思路:用循环链表来做。注意事项:注意释放申请的空间。参考代码:#include<stdio.h>#include<stdlib.h>typedef struct li{ int data; str…… 题解列表 2018年02月14日 0 点赞 0 评论 1838 浏览 评分:0.0
不用数组,10行代码就能搞定,,简单易懂!! 摘要:解题思路:代码a>b?c:d; 如果a>b成立,返回c,否则返回d注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,q,w,e; scanf…… 题解列表 2018年02月14日 8 点赞 3 评论 1862 浏览 评分:9.6
简单易懂! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char c; while((c=getchar())!=…… 题解列表 2018年02月14日 0 点赞 0 评论 1395 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#define LEAP_YEAR(y) if((y%4==0&&y%100!=0)||y%400==0…… 题解列表 2018年02月13日 0 点赞 0 评论 1287 浏览 评分:0.0
花落的新手代码 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int sushu(int n) { int a; for(a=2;a*a<=n;a++) { if(n%a==…… 题解列表 2018年02月13日 1 点赞 0 评论 1707 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>char n[100];int len;void ns(char *a){ int i; len=s…… 题解列表 2018年02月13日 0 点赞 0 评论 1332 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.1 (C语言代码) 解题思路:1.第一种方法,用其他值做桥梁2.用三目运算符注意事项:大小排列注意不要弄混了。参考代码:1-----------------------------------------------------#includeintmain(void){inta, 题解列表 2018年02月13日 0 点赞 0 评论 2024 浏览 评分:9.0
母牛的故事 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include "stdio.h"#define N 56int main(){ int n; int k=0; int a[N]; int cow_m[N]; cow…… 题解列表 2018年02月13日 0 点赞 0 评论 982 浏览 评分:0.0