蓝桥杯算法提高VIP-寻找三位数 (C语言代码) 摘要:解题思路:题目给出的条件已经大大限定了三位数的范围,对于比例为1的三位数,它的三倍也应该是三位数,一个粗略的范围是[100,999/3],也就是[100,333],又由于三位数每位的数字各不相同,范围…… 题解列表 2018年07月14日 0 点赞 0 评论 1424 浏览 评分:9.9
超简单 可AC(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b, c; scanf("%d %d %d", &a, &b, &c); if (a < b) …… 题解列表 2018年07月14日 2 点赞 0 评论 887 浏览 评分:0.0
此题可AC (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a[10], i, t, j; for (i = 0; i < 10; …… 题解列表 2018年07月14日 1 点赞 0 评论 1189 浏览 评分:0.0
此题可AC(C语言代码) 摘要:解题思路:注意事项: 此题可AC参考代码:#include<stdio.h>int main(){ int i; for (i = 10; i <= 1000; …… 题解列表 2018年07月14日 1 点赞 0 评论 708 浏览 评分:0.0
此题可AC(C语言代码) 摘要:解题思路:注意事项: 此题可AC参考代码:#include<stdio.h>int main(){ int num[100], i, sum = 0, n…… 题解列表 2018年07月14日 1 点赞 0 评论 753 浏览 评分:0.0
蓝桥杯算法提高VIP-多项式输出 (C语言代码) 摘要:解题思路:严格按照规定的格式输出多项式;应保证系数非零,才能做后续判断;首先,最高次项的系数为负、非最高次项的系数为正或负,都需要加上正负号;然后求出系数的绝对值,对于一个高于0次的项来说,系数为1可…… 题解列表 2018年07月14日 2 点赞 1 评论 2705 浏览 评分:9.9
迷宫问题 (C++代码) 摘要:解题思路: 简单 BFS题 注意事项: 多组数据注意初始化即可参考代码:#include <queue> #include <iostream> #include <cstring> using…… 题解列表 2018年07月14日 1 点赞 0 评论 668 浏览 评分:0.0
C二级辅导-分段函数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float x, y; scanf("%f", &x); if (x < 1) y = x; else if …… 题解列表 2018年07月14日 2 点赞 0 评论 883 浏览 评分:0.0
蓝桥杯算法提高- c++_ch02_03 (C语言代码) 摘要:#include <stdio.h> int num[3][3]={//3*3的表格 0,-1,1, 1,0,-1, -1,1,0 }; int main(){ int a,b,n;…… 题解列表 2018年07月14日 5 点赞 0 评论 946 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路 这个是正确的!注意事项:参考代码:#include<stdio.h>int main(){ char c1, c2, c3, c4, c5; c1 = 'C'; c2 = &…… 题解列表 2018年07月14日 0 点赞 0 评论 710 浏览 评分:0.0