弟弟的作业(C语言) 摘要:#include<stdio.h> #include<string.h> int main() { int a, b , e; char c; int k; int s…… 题解列表 2023年06月09日 0 点赞 0 评论 407 浏览 评分:0.0
汽水瓶(C语言) 摘要:汽水瓶 #include<stdio.h> int main() { int n; int sum = 0; int k = 0; int b = 0; int a…… 题解列表 2023年06月09日 0 点赞 0 评论 422 浏览 评分:0.0
每天经受2道代码的小白写的一个背包问题 摘要:解题思路:注意事项:参考代码:/*装箱问题。有一个箱子容量为v(正整数,o≤v≤20000),同时有n个物品(o≤n≤30), 每个物品有一个体积 (正整数)。要求从 n 个物品中,任取若干个…… 题解列表 2023年06月09日 0 点赞 0 评论 756 浏览 评分:9.9
巧妙利用数组下标即可减少循环次数,一次遍历就可以出结果 摘要:解题思路:将输入的自然数作为数组的下标,每当出现相同的自然数时,该自然数对应的下标所对应的值就加一,最后每个下标所对应的值就是相同自然数出现的总次数注意事项:参考max.sum < brr[i] 该…… 题解列表 2023年06月08日 0 点赞 0 评论 673 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[1001]; gets(str); st…… 题解列表 2023年06月08日 0 点赞 0 评论 499 浏览 评分:0.0
------数字分离----- 解题思路:利用字符数组来接受数据然后顺序打印即可法一用函数法二不用函数感觉比法一还简洁一点若说错了请多多包含注意事项:参考代码://法一:/*题目1034:[编程入门]自定义函数之数字分离题目描述写一函数,输入一个四位数字,要求输出这四个数字字符,但每两个数字间空格。 题解列表 2023年06月08日 0 点赞 0 评论 510 浏览 评分:0.0
一元多项式加法(简单粗暴) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>void createListL();typedef struct Node{ int a;//表示…… 题解列表 2023年06月08日 0 点赞 0 评论 647 浏览 评分:9.9
蓝桥杯算法训练VIP-链表数据求和操作(有老六解法,C语言) 摘要:老六解题法 #include<stdio.h> int main(){ int a[10],b[10]; int sum1 = 0,sum2 = 0; for(int i=0;…… 题解列表 2023年06月08日 0 点赞 0 评论 474 浏览 评分:0.0
蓝桥杯算法提高VIP-复数求和 摘要:#include<stdio.h> #include<stdlib.h> typedef struct elemtype { int a; int b; struct elem…… 题解列表 2023年06月08日 0 点赞 0 评论 433 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; long int max = -1000000,a[100],sum=0; …… 题解列表 2023年06月08日 0 点赞 0 评论 986 浏览 评分:0.0