用最简洁的语言! ! !A最辣的题系列之(分糖果) 摘要:#include<stdio.h> int n, e=0, num = 0; int a[100]; //num是老师分下去的糖;e用于计数 & 题解列表 2018年12月13日 1 点赞 0 评论 875 浏览 评分:0.0
用最简洁的语言! ! !A最辣的题之(Gc的苦恼) 摘要: #include<stdio.h> void main() { int a; while (~scanf("%d", &a)){ if (a>74 题解列表 2018年12月13日 1 点赞 1 评论 846 浏览 评分:9.0
蓝桥杯算法提高- c++_ch02_02 (C语言代码) 摘要:解题思路:注意事项:在switch里也可用对应的ASCII码值代替'+'这些参考代码:#include <stdio.h>int main(){ int a,b; ch…… 题解列表 2018年12月13日 1 点赞 0 评论 651 浏览 评分:0.0
蓝桥杯算法训练VIP-整除问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int max,min,factor; int i; scanf("%d%d%d",&…… 题解列表 2018年12月13日 2 点赞 0 评论 1121 浏览 评分:0.0
蓝桥杯历届试题-蚂蚁感冒 (C语言代码) 摘要:解题思路:1.用一个变量x记录好感冒蚂蚁 2.首先通过冒泡排序,将蚂蚁的位置排好(包括感冒的) 3.如果感冒蚂蚁在最左边并且 题解列表 2018年12月13日 0 点赞 0 评论 1033 浏览 评分: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 评论 1308 浏览 评分:0.0
蓝桥杯2014年第五届真题-套娃 (C++代码) 摘要:解题思路:并查集吧为毛超时啊??最强召唤魔法,地表最强召唤兽~@地表最强召唤兽注意事项:参考代码:#include <iostream> #include <stdio.h> #include <…… 题解列表 2018年12月13日 1 点赞 5 评论 1256 浏览 评分:6.8
蓝桥杯2013年第四届真题-幸运数 (C++代码)用vector进行筛选 16msAC代码 摘要:解题思路: vector动态数组筛选,速度还可以 16ms通过注意事项: 参考代码:#include <iostream> #include <vector> #define _f…… 题解列表 2018年12月13日 5 点赞 2 评论 933 浏览 评分:9.3
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 评论 709 浏览 评分:0.0
蓝桥杯算法训练VIP-整数平均值 (C语言代码) 摘要:解题思路:注意事项: 在函数内部使用指针操纵数组元素参考代码:#include <stdio.h>int main(){ int n, i; scanf("%d", &n); int a[100…… 题解列表 2018年12月13日 2 点赞 0 评论 1613 浏览 评分:5.2