C语言训练-尼科彻斯定理-题解(C++代码) 摘要:解题思路:利用中位数,求m个数中的中位数,然后推出其他的数注意事项:分类讨论参考代码:#include<iostream> using namespace std; int main() { …… 题解列表 2020年11月16日 0 点赞 0 评论 789 浏览 评分:0.0
排队买票(递归全排列问题)-题解(C语言代码) 摘要:解题思路:注意事项:参考代码://买票找钱问题,/*思路: 将所有的排列找出,然后找出符合条件的组数 核心思路: 使用递归,将所有小盆友的可能排列顺序找出(难点) 全排列问题 …… 题解列表 2020年11月16日 0 点赞 0 评论 1158 浏览 评分:0.0
采药-题解(C语言代码) 摘要: ```c #include int main() { int t,m,i,j; int a[101][102]; int b[102][1002]; …… 题解列表 2020年11月17日 0 点赞 0 评论 552 浏览 评分:0.0
[编程入门]完数的判断-题解(C语言代码) 摘要:参考代码:#include <stdio.h>#include <stdlib.h>int zhishu(int x){ int flag=0; for(int i=2;i<=x/2;i+…… 题解列表 2020年11月17日 0 点赞 0 评论 501 浏览 评分:0.0
[编程入门]自定义函数之字符提取-题解(C语言代码) 摘要:参考代码:#include <stdio.h>#include <stdlib.h>#include<string.h>void stringget(char *string1,char *strin…… 题解列表 2020年11月17日 0 点赞 0 评论 797 浏览 评分:0.0
二叉树遍历-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>typedef struct node{ struct node…… 题解列表 2020年11月17日 0 点赞 0 评论 1134 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(C语言代码) 摘要:解题思路:注意事项:参考代码#include#includeint main(){ char a[100],b[100];//定义两个数组 gets(a);//输入第一个数组表示的字符 …… 题解列表 2020年11月17日 0 点赞 0 评论 785 浏览 评分:0.0
C语言训练-大、小写问题-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include#define N 100int main(){ char string[100];//定义string[100]为字符型 int i,j; …… 题解列表 2020年11月17日 0 点赞 0 评论 1062 浏览 评分:0.0
[编程入门]自定义函数之字符串反转-题解(C语言代码) 摘要:参考代码:#include <stdio.h>#include <stdlib.h>#include<string.h>void stringback(char *string1,char *stri…… 题解列表 2020年11月17日 0 点赞 0 评论 526 浏览 评分:0.0
C语言训练-数字母-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include#define N 100int main(){ char string[100];//定义成字符型 int i,j,m; i=0;j=…… 题解列表 2020年11月17日 0 点赞 0 评论 407 浏览 评分:0.0