半数集问题 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> using namespace std; int a[1005]; int f(int …… 题解列表 2018年05月16日 0 点赞 0 评论 1777 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题10.5 (C语言代码) 摘要:#include<stdio.h> #include<malloc.h> int main() { int *a; int m,n,i,j=0,sum=0; …… 题解列表 2018年05月17日 0 点赞 0 评论 1050 浏览 评分:9.9
幸运儿 (Java代码) 摘要:解题思路:注意事项:参考代码: public class 幸运儿 { public static void main(String[] args) { // TODO Auto-gen…… 题解列表 2018年05月17日 0 点赞 0 评论 796 浏览 评分:9.9
大小写转换 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include<string> using namespace std; int main() { str…… 题解列表 2018年05月17日 0 点赞 0 评论 1418 浏览 评分:9.9
字符排列问题 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> using namespace std; char a[25]; int b[26]; …… 题解列表 2018年05月17日 1 点赞 0 评论 1075 浏览 评分:9.9
【魔板】 (C++代码) 摘要:解题思路:对于这个问题来说,一共有三种操作,最终输出的结果又是最小的步骤 所以采用bfs进行暴力破解题目是多组数据进行输入,所以用while循环进行输入,接下来基本上就是套用bfs暴力破解的魔板直接…… 题解列表 2018年05月22日 3 点赞 0 评论 2724 浏览 评分:9.9
数列排序 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; cin>>n; while(n-…… 题解列表 2018年05月22日 0 点赞 1 评论 1448 浏览 评分:9.9
杨辉三角 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int a[31][31]={0}; int main() { int n; …… 题解列表 2018年05月28日 0 点赞 0 评论 1495 浏览 评分:9.9
数据结构-迪杰斯特拉最短路径算法 (C语言代码)-------------C语言——菜鸟级 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> #define N 60 int dis[N]; int gxb[N][N]; int…… 题解列表 2018年05月30日 6 点赞 0 评论 1887 浏览 评分:9.9
Friends number (C语言代码) 摘要:解题思路: 这题直接暴力打表,哈哈哈哈哈注意事项:没有注意事项,暴力出来直接打表,打表大法好参考代码:#include <stdio.h> int ans[56][2]= { 220,…… 题解列表 2018年05月30日 1 点赞 2 评论 1828 浏览 评分:9.9