C语言程序设计教程(第三版)课后习题7.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int q,w,e,r,t,y,u,i,o,p; scanf ("%d %d %d %d %d %d…… 题解列表 2018年12月13日 1 点赞 0 评论 545 浏览 评分:0.0
蓝桥杯基础练习VIP-分解质因数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int fun(int n){ int i; printf("%d=",n); for(i=2;i<…… 题解列表 2018年12月13日 0 点赞 0 评论 1049 浏览 评分:0.0
蓝桥杯历届试题-蚂蚁感冒 (C语言代码) 摘要:解题思路:1.用一个变量x记录好感冒蚂蚁 2.首先通过冒泡排序,将蚂蚁的位置排好(包括感冒的) 3.如果感冒蚂蚁在最左边并且 题解列表 2018年12月13日 0 点赞 0 评论 868 浏览 评分:0.0
蓝桥杯算法训练VIP-整除问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int max,min,factor; int i; scanf("%d%d%d",&…… 题解列表 2018年12月13日 2 点赞 0 评论 965 浏览 评分:0.0
蓝桥杯算法提高- c++_ch02_02 (C语言代码) 摘要:解题思路:注意事项:在switch里也可用对应的ASCII码值代替'+'这些参考代码:#include <stdio.h>int main(){ int a,b; ch…… 题解列表 2018年12月13日 1 点赞 0 评论 549 浏览 评分:0.0
用最简洁的语言! ! !A最辣的题系列之(分糖果) 摘要:#include<stdio.h> int n, e=0, num = 0; int a[100]; //num是老师分下去的糖;e用于计数 & 题解列表 2018年12月13日 1 点赞 0 评论 685 浏览 评分:0.0
去掉空格 (C++代码)水 摘要:解题思路: 水水水,利用string参考代码:#include<bits/stdc++.h> using namespace std; int main(){ string kk; …… 题解列表 2018年12月14日 0 点赞 0 评论 664 浏览 评分:0.0
蓝桥杯算法提高- c++_ch03_02 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define N 20int main(){ int n,i=0,j=0,k=0,a[N][N]; scanf("%d",&n); …… 题解列表 2018年12月14日 1 点赞 0 评论 937 浏览 评分:0.0
蓝桥杯2013年第四届真题-错误票据 (C++代码) 摘要:解题思路:因为数据是连续的,桶排序,然后找出始端和末端, 如果值为0就是遗漏,值为2就是重复注意事项:参考代码:#include<iostream>#include<cstring>using nam…… 题解列表 2018年12月14日 2 点赞 0 评论 691 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:#include<stdio.h> #define LEAP_YEAR(y) (y%4==0&&y%100!=0||y%400==0)?1:0 typedef struct CCalendar …… 题解列表 2018年12月14日 1 点赞 0 评论 587 浏览 评分:0.0