[编程入门]完数的判断-题解(C语言代码) 摘要: #include int main(){ int N; int M[100];// 定义一个存放因子的数组 scanf("%d",&N);//接…… 题解列表 2019年09月12日 0 点赞 0 评论 880 浏览 评分:0.0
统计字符数-题解(C语言代码) 摘要: #include #include int main() { int n; char x[1000]; int i,j,l; …… 题解列表 2019年09月12日 0 点赞 0 评论 1004 浏览 评分:0.0
蓝桥杯算法提高VIP-大数加法-题解(C++代码) 摘要:```cpp #include using namespace std; const int maxn = 1006; int a[maxn],b[maxn]; int main(…… 题解列表 2019年09月13日 0 点赞 0 评论 606 浏览 评分:0.0
蓝桥杯算法提高VIP-和最大子序列-题解(C++代码) 摘要:```cpp #include using namespace std; #define Up(i,a,b) for(int i = a; i > n; int sum = 0,_s…… 题解列表 2019年09月14日 0 点赞 0 评论 751 浏览 评分:0.0
C语言训练-求车速-题解(C++语言代码) 分享个和大多数人不一样的方法 摘要:分享个和大多数人不一样的方法 #include using namespace std; int main(){ int n=95859,km=0;…… 题解列表 2019年09月14日 0 点赞 0 评论 1121 浏览 评分:0.0
[编程入门]迭代法求平方根 (C++代码) 摘要:使用循环输入数的时候,注意需将参数赋值写到循环里面 ```cpp #include #include using namespace std; int main() { double …… 题解列表 2019年09月14日 0 点赞 0 评论 865 浏览 评分:0.0
A_利用结构体——有序线性表的有序合并-题解(C语言代码) 摘要: //已知线性表 LA 和 LB 中的数据元素按值非递减有序排列,现要求将 LA 和 LB 归并为一个新的线性表 LC, // 且 LC 中的数据元素仍然按值非递减有序排列。例如,设L…… 题解列表 2019年09月15日 0 点赞 0 评论 1046 浏览 评分:0.0
C语言训练-求PI*-题解(C语言代码) 摘要:```c #include int main(){ double i=0,pi=0;/*因为几乎都是double类型,得把i定义成double才更好的保持精度 */ int flag,nu…… 题解列表 2019年09月15日 0 点赞 0 评论 814 浏览 评分:0.0
蓝桥杯2013年第四届真题-买不到的数目-题解(C语言代码) 摘要:#include using namespace std; int main() { int a,b; cin >> a >> b; cout …… 题解列表 2019年09月15日 0 点赞 0 评论 832 浏览 评分:0.0
蓝桥杯2013年第四届真题-剪格子-题解(C++描述,简单易懂,可参考啊哈算法走迷宫) 摘要:#include #include using namespace std; int n,m,a[10][10],book[10][10],sum,ans,q=1,s[10],l;//q代表步数…… 题解列表 2019年09月15日 0 点赞 0 评论 1321 浏览 评分:0.0