C语言。。。。。。。。。。。。。。。。。。。。 摘要:#include<stdio.h>struct group{ int a; int b;};void print_space(int n…… 题解列表 2025年12月13日 0 点赞 0 评论 165 浏览 评分:0.0
链表合并c自己记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>//构建节点的结构体typedefstruct&nb…… 题解列表 2025年12月14日 1 点赞 0 评论 418 浏览 评分:0.0
[编程入门]原码求补码 摘要:#include<stdio.h>#include<string.h> // 用于strlen校验输入长度// 二进制字符串加一函数(补码转换需要:反码+1)void bina…… 题解列表 2025年12月14日 1 点赞 0 评论 173 浏览 评分:0.0
简单易懂百钱买百鸡 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; for(a=0;a<=20;a+…… 题解列表 2025年12月15日 0 点赞 0 评论 244 浏览 评分:0.0
分解因数(一个数 因数的组合有多少个 利用递归) 摘要:解题思路:注意事项:每一个数都进行寻找因数(小于根号下)参考代码:#include<stdio.h>int count;int fn(int x, int k){ …… 题解列表 2025年12月15日 0 点赞 0 评论 186 浏览 评分:0.0
组合输出(从n个数中选择r个数 进行组合)利用深度优先遍历 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int n,r,arr[22];void dfs(int step, int flag){ if(…… 题解列表 2025年12月15日 0 点赞 0 评论 154 浏览 评分:0.0
简单易懂的解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double fact(int k){ double sum = 0.0,result…… 题解列表 2025年12月18日 0 点赞 0 评论 175 浏览 评分:0.0
1029 [编程入门]自定义函数处理素数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); if(n<=1){ …… 题解列表 2025年12月18日 0 点赞 0 评论 340 浏览 评分:0.0
1042: 电报加密 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char ch; while(scanf("%c",&ch)==1){ …… 题解列表 2025年12月18日 1 点赞 0 评论 194 浏览 评分:0.0
1060: 同因查找 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ for(int i=10;i<1001;i++){ &n…… 题解列表 2025年12月18日 0 点赞 0 评论 151 浏览 评分:0.0