递归算法练习题:正向三角形输出(JAVA版) 摘要:题目:使用递归算法实现如下n行n列个星形字符的正向三角形输出。输出示例:** ** * ** * * ** * * * ** * * * * ** * * * * * *(本示例代码沿用VSCode,…… 文章列表 2020年10月06日 0 点赞 0 评论 1318 浏览 评分:9.9
题目 1155: C语言训练-阶乘和数* 摘要:#include<bits/stdc++.h>using namespace std;int fact(int n);long long int panduan(long int n);int mai…… 文章列表 2020年10月07日 0 点赞 0 评论 625 浏览 评分:9.9
题目 1065: 二级C语言-最小绝对值 摘要:#include<stdio.h>#include<math.h>int main(){ int num1[10],num2[10]; int i,min,rec,t; for(i=…… 文章列表 2020年10月07日 0 点赞 1 评论 569 浏览 评分:9.9
来吧!C++制作的乱斗游戏!(有外挂!但.....没有用!!!) 摘要:```cpp #include #include #include using namespace std; double shanghai[20]={0.6,1.1,2,3.16,5.5,…… 文章列表 2020年10月08日 0 点赞 14 评论 889 浏览 评分:9.9
题目 1081: Infinite Dictionaries 摘要:#include<vector> #include<map> #include<string>#include<cstring>#include<cstdio>#include<cstdlib>usi…… 文章列表 2020年10月08日 0 点赞 2 评论 346 浏览 评分:9.9
题目 1806: [编程基础]输入输出练习之第二个数字 摘要:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; cout<<b<<endl; …… 文章列表 2020年10月08日 0 点赞 0 评论 410 浏览 评分:9.9
题解 1099: 校门外的树(C语言) 摘要:```c #include #include int main() { int l,m,i,j,num=0; int b[10000]; int a[10…… 文章列表 2020年10月11日 0 点赞 0 评论 505 浏览 评分:9.9
二分搜索:对排好序的一位数组改进二分搜索(C/C++/Java) 摘要:题目: 设a[0:n-1]是已排好序的数组。请改写二分搜索算法,使得当搜索元素x不在数组中时,返回小于x的最大元素位置i和大于x的最小元素位置j。当搜索元素在数组中时,i和j相同…… 文章列表 2020年10月11日 0 点赞 0 评论 991 浏览 评分:9.9
有奖征集优秀项目源码案例 摘要:童鞋们,为提升大家的学习动力、促进代码交流、丰富学习资源,现公开征集项目源码案例,语言:包括但不限于C/C++/java/python编译器:TC、CodeBlocks、Devcpp、VS系列等常见编…… 文章列表 2020年10月17日 0 点赞 0 评论 1731 浏览 评分:9.9
精品文章 分治思想实现:归并排序、快速排序(C/C++) 摘要:归并排序:思想图解(网上选取供参考):实现思想: 数组排序任务可以如下完成: 1) 把前一半排序; 2) 把后一半排序; 3) 把两半归并到一个新的有序数组,然后…… 文章列表 2020年10月21日 0 点赞 0 评论 1018 浏览 评分:9.9