蓝桥杯算法训练VIP-数的统计-题解(C语言代码) 摘要:```c #include int main(){ int n, arr[1000] = { 0 }; scanf("%d", &n); for (int i = 0, x; i <…… 题解列表 2019年07月08日 0 点赞 0 评论 648 浏览 评分:9.9
蓝桥杯算法训练VIP-数组查找及替换-题解(C语言代码) 摘要:```c #include int main(){ int n, b, arr[100]; scanf("%d %d", &n, &b); int j = 0; for (int…… 题解列表 2019年07月08日 0 点赞 0 评论 638 浏览 评分:9.9
蓝桥杯算法训练VIP-斜率计算-题解(C语言代码) 摘要:注意一下绝对值就好 ```c #include #include int main(){ int x1, x2, y1, y2; scanf("%d %d %d %d", &x1,…… 题解列表 2019年07月08日 0 点赞 3 评论 1283 浏览 评分:9.9
[编程入门]C语言循环移位-题解(C语言代码) 摘要:1. 第一步:将十进制数化为对应的二进制数 采用数组来存储每一位二进制数,二进制数从低位到高位刚好对应数组下标从小到大,即此时数组下标为0的位置上存放的是二进制数的最低位。 1. 第二步:对每…… 题解列表 2019年07月08日 0 点赞 0 评论 950 浏览 评分:9.9
[编程入门]自定义函数之数字后移-题解(C语言代码) 摘要:虽然题目要求的是数组的求解,在看了通过的情况,大多数的同学都是可以完成的,因此,由于这道题的规律性,我联想到了链表,因此我提供一种链表求解 思路:首先需要会链表啊,其次将headptr与lastpt…… 题解列表 2019年07月08日 0 点赞 0 评论 1302 浏览 评分:9.9
蓝桥杯算法提高VIP-质因数-题解(Java代码) 摘要:import java.util.Scanner; public class test { public static void main(String[] args) { Scann…… 题解列表 2019年07月09日 0 点赞 0 评论 936 浏览 评分:9.9
程序员爬楼梯-题解(C语言代码) 摘要:递归 ```c #include int count = 0; void run(int n,int cur){ if (cur >= n){//递归边界 if (cur == n…… 题解列表 2019年07月09日 0 点赞 1 评论 953 浏览 评分:9.9
蓝桥杯算法提高VIP-12-1三角形 -题解(C语言代码) 摘要:```c #include #include typedef struct{ double x; double y; }_Power; typedef struct{ _Po…… 题解列表 2019年07月09日 0 点赞 0 评论 878 浏览 评分:9.9
蓝桥杯算法提高VIP-11-1实现strcmp函数-题解(C语言代码) 摘要:```c #include int mystrcmp(char *str1, char *str2){ int i = 0; while (str1[i] != '\0' && str2…… 题解列表 2019年07月09日 0 点赞 1 评论 860 浏览 评分:9.9
蓝桥杯算法提高VIP-矩阵相乘 -题解(C语言代码) 摘要: 注意存储数据的数组要设置的足够大,arr[100][100]不够 ```c #include…… 题解列表 2019年07月12日 0 点赞 1 评论 691 浏览 评分:9.9