蓝桥杯历届试题-连号区间数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include<cstdio> #include<cmath> using namespace std; i…… 题解列表 2019年01月09日 0 点赞 0 评论 655 浏览 评分:0.0
元素配对 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){int n,x[100],y[100],z[100];scanf("%d",&n);int i;for(i=1;…… 题解列表 2019年01月09日 0 点赞 0 评论 954 浏览 评分:0.0
junmu1583:蓝桥杯算法提高VIP-高精度乘法 (C语言代码) 摘要:解题思路:怎么说呢!结构很巧妙,自行领会吧!注意事项:注意:数组长度一定一定要一万以上,不然就会出现Segmentation fault:段错误,检查是否有数组越界,指针异常,访问到不应该访问的内存区…… 题解列表 2019年01月09日 1 点赞 2 评论 1974 浏览 评分:9.9
奖学金 (C语言代码)冒泡排序的改编应用 摘要:解题思路:对冒泡排序进行改编。改变”产生数据交换“的条件;memcpy用来交换结构体数据参考代码:#include <stdio.h> #include <string.h> typedef st…… 题解列表 2019年01月09日 0 点赞 0 评论 1088 浏览 评分:8.0
数列 (C语言代码) 摘要:解题思路:需要找到相关规律,涉及到集合问题参考代码:#include <stdio.h> #include <math.h> int a[1000]; int ipow(int k,int …… 题解列表 2019年01月09日 0 点赞 0 评论 1098 浏览 评分:0.0
求输入数据绝对值 (C语言描述,EOF文件流) 摘要:解题思路: 用while循环判断用户输入,if判断输入是正负数,如果是正数则保留两位小数原样输出,如果是负数就输出负数的相反值并保留两位小数注意事项: …… 题解列表 2019年01月09日 0 点赞 0 评论 844 浏览 评分:0.0
奖学金 (C++代码) 摘要:整理学习:方式一: 自定义 cmp() 比较函数#include<cstdio> #include<algorithm> using namespace std; struct Stu…… 题解列表 2019年01月09日 0 点赞 0 评论 1265 浏览 评分:0.0
Jam的计数法 (C语言代码) 摘要:参考代码:时间超限:(自增1,再逐个判断)#include <stdio.h> #include <stdlib.h> int s,t,w; int inc(char *str) { …… 题解列表 2019年01月09日 0 点赞 0 评论 2063 浏览 评分:5.2
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:"*"一定不能少,26个参考代码:#include<stdio.h>int main(){ printf("**************************\nHello Wo…… 题解列表 2019年01月09日 0 点赞 0 评论 781 浏览 评分:0.0
求所给范围内水仙花数并排列 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int m,n,i,a,b,c,d=1; while(scanf("%d%d…… 题解列表 2019年01月08日 1 点赞 0 评论 1217 浏览 评分:0.0