[编程入门]自定义函数之字符提取-题解(C语言代码) 摘要: #include #include /* run this program using the console pauser or add your own…… 题解列表 2020年02月05日 0 点赞 0 评论 696 浏览 评分:0.0
[编程入门]阶乘求和-题解(C++代码) 摘要: ```cpp #include using namespace std; int main() { long long n(n>=1&&n>n; for(i=2;i…… 题解列表 2020年02月05日 0 点赞 0 评论 511 浏览 评分:0.0
输出字符'A'个数-题解(C语言代码) 摘要:本题较为简单,只涉及一个知识点:“循环”即可 参考代码如下: ```c #include int main() { int i,a;//a为定义循环个数 scanf("%d",&…… 题解列表 2020年02月05日 0 点赞 0 评论 1147 浏览 评分:9.9
蓝桥杯2014年第五届真题-兰顿蚂蚁-题解-思路清晰-防越界(Python代码) 摘要:```python def input_():#输入函数 m,n = map(int,input().split()) ls = [list(map(int,input().sp…… 题解列表 2020年02月05日 0 点赞 0 评论 883 浏览 评分:9.9
C语言训练-"水仙花数"问题1-题解(C语言代码) 摘要: ``` #include #include int main() { int a, b, c,d; scanf("%d", &a); d = a / 100 % 1…… 题解列表 2020年02月05日 0 点赞 1 评论 569 浏览 评分:6.0
蓝桥杯2013年第四届真题-买不到的数目-题解(Python代码) 两行代码。。。 摘要:利用数论的知识可知,**自然数a,b互质,则不能表示成ax+by(x,y为非负整数)的最大整数是ab-a-b**. 当然是在给定两数满足互质条件,通过网上查找可知,判定系统给定的输入均满足互质。 …… 题解列表 2020年02月05日 0 点赞 0 评论 1613 浏览 评分:9.3
C语言训练-"水仙花数"问题2-题解(C语言代码) 摘要: ```c #include #include int main() { int a, b, c,d; for (a = 99; a < 1000; a++) { …… 题解列表 2020年02月05日 0 点赞 0 评论 1018 浏览 评分:0.0
陶陶摘苹果 (C++代码) 用数组轻松解决,小白包你看懂。 摘要:#include using namespace std; int main() {int a[10];//定义十个数 int high,i,count=0; for(i=0;i>a[i]…… 题解列表 2020年02月05日 0 点赞 0 评论 733 浏览 评分:9.3
[编程入门]最大公约数与最小公倍数-题解(C语言代码) 摘要:#include int main() { int a,b,n,c; scanf("%d%d",&a,&b); for(n=1;n…… 题解列表 2020年02月05日 0 点赞 1 评论 780 浏览 评分:7.3
蛇行矩阵-题解 有问题可以留言 (C语言代码) 摘要:主函数: p:指的是对每一行的第一个数的大小即1,2,4,7,11 可以看到规律,第二个数加1, 第三个数加2, 第四个数加3,第五个数加4 n:循环的次数,第一行输出5个数, 第二行…… 题解列表 2020年02月05日 0 点赞 0 评论 769 浏览 评分:9.9