编写题解 1074: 数字整除 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(int argc, char *argv[]) { int n,i,g; in…… 题解列表 2021年09月23日 0 点赞 0 评论 302 浏览 评分:0.0
麻烦的解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d,e,x,t; scanf("%d",&x); if(x/1<1…… 题解列表 2021年09月23日 0 点赞 0 评论 332 浏览 评分:0.0
二级C语言-计算素数和(超简单的C语言代码) 摘要:解题思路:用prime函数判断是否为素数从而判断是否家境sum中。参考代码:#include <stdio.h> int isprime(int x) //判断x是否为素数,真1假0(注意数字1…… 题解列表 2021年09月23日 0 点赞 0 评论 244 浏览 评分:9.0
二级C语言-统计字符【小白C语言】【详细注释】大家都能看得懂 摘要:解题思路:没什么好写的注意事项:参考代码:#include <stdio.h> #include <string.h>//为了调用strlen()函数 int main(void) { …… 题解列表 2021年09月23日 0 点赞 0 评论 802 浏览 评分:8.4
【递归】C语言模块化解决分解质因数问题 摘要:解题思路:就是这样注意事项:参考代码:#include <stdio.h> int isPrime(int n)//判断是否为质数,真1假0 { for (int i = 2; i …… 题解列表 2021年09月23日 0 点赞 0 评论 326 浏览 评分:3.0
带头结点的单链表删除元素 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>typedef int ElemType;typedef struct LNode{ El…… 题解列表 2021年09月23日 0 点赞 0 评论 629 浏览 评分:9.9
链表,逆序创建单链表,在带头结点的单链表中进行删除 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>typedef int ElemType;typedef struct LNode{ El…… 题解列表 2021年09月23日 0 点赞 0 评论 415 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-调用函数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> void fun(char a[],char b[],char c[],int lena,i…… 题解列表 2021年09月23日 0 点赞 0 评论 321 浏览 评分:6.0
动态规划 路径问题 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int T,N,A[100][100],B[100][100]…… 题解列表 2021年09月22日 0 点赞 0 评论 223 浏览 评分:0.0
Ikaros-打印图案 C++解决 摘要:解题思路:对齐打印即可参考代码:#include<iostream>using namespace std;int main(){ cout << " *" << endl; cout << " *…… 题解列表 2021年09月22日 0 点赞 0 评论 768 浏览 评分:0.0