[编程入门]三个数最大值-题解(C语言代码) 摘要:```c #include int main(void) { int a, b, c //声明三个整型 int result; //声明result,用来存储“…… 题解列表 2020年04月24日 0 点赞 0 评论 858 浏览 评分:0.0
蓝桥杯历届试题-回文数字-题解(C++代码)————————越过一个坑,来枚举————————— 摘要:## 越过一个坑来枚举 ### 思路: 因为,回文数仅仅限制于5位或者6位,所以你只需要三层循环来遍历0~9个数,而且只需要遍历前三位即可, 然后,五位数的先打印,六位数的后打印,循环遍历要…… 题解列表 2020年04月24日 0 点赞 1 评论 930 浏览 评分:9.7
优质题解 Manchester-【幸运儿-带答案错误解释】 摘要:#### 一.解题思路: ##### 1:分析题目 1. 题目说围成一个圈,**实则**选人的时候**不能把它看做圈**(*暗藏第一个人永远是幸运儿)*,**每次选到末尾没人可选后不能连在第一个…… 题解列表 2020年04月23日 1 点赞 1 评论 1065 浏览 评分:10.0
汽水瓶-题解(C语言代码) 摘要:``` #include int drink(int k) { int s = 0, d = 0; while(s != 2 && s != 1){ s = k%3 + k/3; …… 题解列表 2020年04月23日 0 点赞 0 评论 1236 浏览 评分:9.9
[编程入门]阶乘求和-题解(C语言代码) 摘要:#include int main() { long long int n=1,i,a,sum=0,num=1; scanf("%lld",&n); if(n…… 题解列表 2020年04月23日 0 点赞 0 评论 1154 浏览 评分:0.0
Manchester-【平方和与立方和-题解(C语言代码)】 摘要:#### 解题思路: 输入整数m 和n。 设x为m到n所有偶数的平方和,y为m到n所有奇数的立方和。 遍历m到n的每一个数i,若i是偶数,则求平方后加入x,若i是奇数则求…… 题解列表 2020年04月23日 0 点赞 0 评论 1204 浏览 评分:9.9
蓝桥杯算法训练-大等于n的最小完全平方数-题解(C语言代码) 摘要:```c #include #include int main() { long long int i, j; long long int n; scanf("%lld",…… 题解列表 2020年04月23日 0 点赞 0 评论 1570 浏览 评分:9.9
[编程入门]成绩评定-题解(C语言代码) 摘要:```c #include int main() { int score,a; scanf("%d",&score) ; a=score/10; switch(a) { cas…… 题解列表 2020年04月23日 0 点赞 0 评论 585 浏览 评分:0.0
蓝桥杯2014年第五届真题-排列序数-题解(C语言代码)如果遇到错误60%数组越界的,可能是以\n为串的结束标志了, 摘要: #include void f(int a[], int index, int b[], int n, int *ner, int *bit) { …… 题解列表 2020年04月23日 0 点赞 0 评论 737 浏览 评分:9.9
C语言训练-求车速-题解(C++代码) 摘要:```cpp #include using namespace std; int f(int n); int main() { int n=95860; while(1) …… 题解列表 2020年04月23日 0 点赞 0 评论 1044 浏览 评分:2.0