C语言训练-计算一个整数N的阶乘 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main (){ int n; int i,a; scanf("%d",&n); a=…… 题解列表 2018年07月31日 0 点赞 0 评论 1115 浏览 评分:0.0
数据结构-n阶Hanoi塔问题 (C语言代码) 摘要: 解题思路:找到他们之间的重复过程,使用递归求解。 hanoi`塔的搬运过程; i :左边的柱子只有两个圆盘我们先假设在A柱子上只有两个圆盘,不用图我们用大脑想象出来最佳…… 题解列表 2018年07月31日 0 点赞 0 评论 1843 浏览 评分:3.6
登陆验证问题(二) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s1[100],s2[100]; int i=3; …… 题解列表 2018年07月31日 0 点赞 0 评论 1322 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.1 (C语言代码) 摘要:解题思路:最大公约数,把最大的那个数赋值给max,然后往下除。最小公倍数的话,用两数乘积除以最大公约数注意事项:判断条件参考代码:#include<stdio.h>int main() { int n…… 题解列表 2018年07月31日 0 点赞 0 评论 1468 浏览 评分:0.0
数据结构-KMP算法中的模式串移动数组 (C语言代码)福利 解题思路:KMP算法就是掌握next数组的实现过程附视频教程:https://www.bilibili.com/video/av2975983/?p=39注意事项:next[]数组和T数组,下标1为第一个元素#include#include#include 题解列表 2018年07月31日 0 点赞 0 评论 2263 浏览 评分:0.0 字符串中间和后边*号删除 (C语言代码)题目有毒。 摘要:解题思路:注意事项:题目有毒。怎么交都不正确参考代码:#include <string.h>#include<stdio.h>void fun(char *a){ int i,k,j; char b[…… 题解列表 2018年07月31日 1 点赞 0 评论 1557 浏览 评分:0.0 可 AC(C语言代码) 摘要:解题思路: 注意事项: 比较简单,看解析即可;注意解析中的数组均为逆序存储 参考代码: #include<stdio.h> #include<math.h> v…… 题解列表 2018年07月31日 1 点赞 2 评论 664 浏览 评分:0.0 可 AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<math.h> void move(unsigned int value,int n) …… 题解列表 2018年07月31日 2 点赞 1 评论 1047 浏览 评分:9.9 可AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<math.h> int main() { unsigned int a, m, sum…… 题解列表 2018年07月31日 3 点赞 1 评论 1265 浏览 评分:9.9 输出字符'A'个数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N = 0, i = 0; char str[105]; scanf("%d", &N); for (i…… 题解列表 2018年07月30日 5 点赞 0 评论 2265 浏览 评分:9.9 « 12...2448244924502451245224532454...29572958 »
字符串中间和后边*号删除 (C语言代码)题目有毒。 摘要:解题思路:注意事项:题目有毒。怎么交都不正确参考代码:#include <string.h>#include<stdio.h>void fun(char *a){ int i,k,j; char b[…… 题解列表 2018年07月31日 1 点赞 0 评论 1557 浏览 评分:0.0
可 AC(C语言代码) 摘要:解题思路: 注意事项: 比较简单,看解析即可;注意解析中的数组均为逆序存储 参考代码: #include<stdio.h> #include<math.h> v…… 题解列表 2018年07月31日 1 点赞 2 评论 664 浏览 评分:0.0
可 AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<math.h> void move(unsigned int value,int n) …… 题解列表 2018年07月31日 2 点赞 1 评论 1047 浏览 评分:9.9
可AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<math.h> int main() { unsigned int a, m, sum…… 题解列表 2018年07月31日 3 点赞 1 评论 1265 浏览 评分:9.9
输出字符'A'个数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N = 0, i = 0; char str[105]; scanf("%d", &N); for (i…… 题解列表 2018年07月30日 5 点赞 0 评论 2265 浏览 评分:9.9