[编程入门]自定义函数之字符串反转-题解(C语言代码) 摘要:```c #include int a[10000],n=0; int fun() { while ((a[n] = getchar()) != '\n') { if (a[n]…… 题解列表 2020年04月13日 0 点赞 0 评论 573 浏览 评分:0.0
[编程入门]数字的处理与判断-题解(C语言代码) 摘要:```c #include int main() { int a,b=10,c=1,e,d=1,f,g=1,h=0; scanf("%d", &a); for (; a / b >=…… 题解列表 2020年04月13日 0 点赞 0 评论 862 浏览 评分:0.0
去掉空格-题解(C语言代码) 摘要:#include "stdafx.h" #include void Delspace(char a[]) { int i,j; char b[80][80]; for(j=0;j…… 题解列表 2020年04月13日 0 点赞 0 评论 659 浏览 评分:0.0
排列 (Python代码) 摘要:代码完全符合题意,但是50%错,记得前面有个排序题我用for写的也是50%错 四位数首位如果不可以为零 ```python n=int(input()) for i in range(n)…… 题解列表 2020年04月13日 0 点赞 0 评论 1285 浏览 评分:0.0
蓝桥杯历届试题-蚂蚁感冒-题解(C++代码) 摘要: **解题思路描述: (1)首先将原始数据按其绝对值排序,例如样例排序为 8 -10 12 20 25 (2)查找到原始数据中感冒的那只蚂蚁的下标,将对应的标记位置 1,此时其它蚂蚁的感冒标…… 题解列表 2020年04月13日 0 点赞 0 评论 650 浏览 评分:0.0
换位置-题解(Python代码) 摘要:斐波纳切数列 ```python n=int(input()) for i in range(n): lis=[0,1,1,2,4] m=int(input()) …… 题解列表 2020年04月13日 0 点赞 0 评论 1054 浏览 评分:0.0
整除的尾数-题解(Python代码) 摘要:```python while True: m,n=map(int,input().split()) if m==0 and n==0: break …… 题解列表 2020年04月13日 0 点赞 0 评论 1100 浏览 评分:0.0
蓝桥杯算法提高VIP-寻找三位数-题解(C++代码) 摘要:```cpp #include #include #include using namespace std; bool pan_s(int a){ int ge=a%10; …… 题解列表 2020年04月13日 0 点赞 0 评论 682 浏览 评分:0.0
蓝桥杯算法提高VIP-多项式输出-题解(C语言代码) 摘要: /* 题目描述 一元n 次多项式可用如下的表达式表示: f(x)=a[n]x^n+a[n-1]x^(n-1)+...+a[1]x+a[0], a[n]!=0 其中,a[i]x^i称…… 题解列表 2020年04月13日 0 点赞 0 评论 783 浏览 评分:0.0
[编程入门]阶乘求和-题解(C语言代码) 摘要:```c 注意用long int 以防长度超过int限制长度 #include int main() { long int Sn=0,t; int i,a; scanf("%d",…… 题解列表 2020年04月13日 0 点赞 0 评论 743 浏览 评分:0.0