汽水瓶-题解(Python代码) 摘要:解题思路:注意事项:参考代码:while(1): n=int(input()) if n==0: break else: a=int(n/2) pr…… 题解列表 2020年11月01日 0 点赞 0 评论 957 浏览 评分:6.0
蓝桥杯算法训练VIP-方格取数-题解(Python代码) 摘要:```python n=int(input().strip()) d=[[0 for _ in range(n+1)]for _ in range(n+1)] dp=[[[[0 for _ in…… 题解列表 2020年11月01日 0 点赞 0 评论 890 浏览 评分:6.0
C语言训练-求1+2!+3!+...+N!的和-题解(C++代码) 摘要:两次循环即可#include<iostream> using namespace std; int JX(int x) { long long sum=1; for(int…… 题解列表 2020年11月02日 0 点赞 0 评论 953 浏览 评分:6.0
蓝桥杯2018年第九届真题-整理玩具-题解(Java代码) 摘要:解题思路:用矩阵存放输入的数据;输入的时候记录每个数出现的次数从0开始到9结束找这个数字在矩阵中出现的最边缘位置(即找该数字出现在矩阵的最靠右下角和左上角的位置的坐标)用这个坐标计算出所谓矩形的面积 …… 题解列表 2020年11月03日 0 点赞 0 评论 821 浏览 评分:6.0
[编程基础]输入输出练习之浮点数专题-题解(C语言代码) 摘要:解题思路:输入一个双精度浮点数,输出这个浮点数的%f结果、保留5位小数的结果、%e、%g格式的结果注意事项:注意每一个输入要加入换行符,这样结果才能占一行。参考代码:#include <stdio.h…… 题解列表 2020年11月06日 0 点赞 0 评论 920 浏览 评分:6.0
C语言训练-阿姆斯特朗数-题解(C语言代码) 摘要:```c #include #include int main() { int i; for(i=2;i…… 题解列表 2020年11月06日 0 点赞 0 评论 749 浏览 评分:6.0
字符串的输入输出处理-题解(Java代码) 摘要:解题思路:注意事项:参考代码:Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.nextLine()); S…… 题解列表 2020年11月06日 0 点赞 0 评论 917 浏览 评分:6.0
内部收益率-题解(C语言代码) 摘要://逻辑简单,代码少,就是运行时间久点,毕竟笨办法功能强 #include #include float jisuan(int t,float a[],float x) { int i; …… 题解列表 2020年11月07日 0 点赞 1 评论 1240 浏览 评分:6.0
蓝桥杯算法提高VIP-阶乘差-题解(C语言代码) 摘要:求阶乘函数:#include<bits/stdc++.h> using namespace std; long long j(int x){ if(x==0) return 1; lon…… 题解列表 2020年11月08日 0 点赞 0 评论 623 浏览 评分:6.0
蓝桥杯2017年第八届真题-Excel地址 -题解(Python代码) 摘要:解题思路: 不难、分析到位就ok。参考代码:n = int(input()) s = "" while n>0: a = n%26 if a==0: 题解列表 2020年11月09日 0 点赞 0 评论 518 浏览 评分:6.0