计算球体积-题解(C语言代码) 摘要:```c #include #define pi 3.1415926535 #include int main() { double r; while (scanf("%…… 题解列表 2020年10月17日 0 点赞 0 评论 871 浏览 评分:6.0
[编程入门]自定义函数求一元二次方程-题解(C语言代码) 摘要:解题思路:根据Δ大小分类讨论,用求根公式注意事项:虚数i手加参考代码:#include<stdio.h>#include<math.h>void do1(int a,int b,int c){ flo…… 题解列表 2020年10月20日 0 点赞 0 评论 1297 浏览 评分:6.0
母牛的故事-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n; while(cin>>n&&n!=0) { int a…… 题解列表 2020年10月22日 0 点赞 0 评论 892 浏览 评分:6.0
[编程入门]自定义函数之字符串反转-题解(C语言代码) 摘要:解题思路: 简单暴力注意事项:参考代码:#include <stdio.h>void input(){ char c; c=getchar();…… 题解列表 2020年10月26日 0 点赞 0 评论 650 浏览 评分:6.0
1620-kirito-蓝桥杯算法训练VIP-字符串的展开-题解(C++语言代码)全网最短代码 摘要:参考代码:#include<iostream> #include<string> using namespace std; int p1,p2,p3; int flag,ASC; str…… 题解列表 2020年10月30日 0 点赞 0 评论 691 浏览 评分:6.0
1621-Kirito-蓝桥杯算法训练VIP-字符串编辑-题解(C++代码)这才是真正的STL做法 摘要:参考代码:#include<iostream> #include<string> using namespace std; string s; char x,y,z; void myde…… 题解列表 2020年10月30日 0 点赞 0 评论 1011 浏览 评分:6.0
汽水瓶-题解(Python代码) 摘要:解题思路:注意事项:参考代码:while(1): n=int(input()) if n==0: break else: a=int(n/2) pr…… 题解列表 2020年11月01日 0 点赞 0 评论 1124 浏览 评分: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 评论 988 浏览 评分: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 评论 1145 浏览 评分:6.0
蓝桥杯2018年第九届真题-整理玩具-题解(Java代码) 摘要:解题思路:用矩阵存放输入的数据;输入的时候记录每个数出现的次数从0开始到9结束找这个数字在矩阵中出现的最边缘位置(即找该数字出现在矩阵的最靠右下角和左上角的位置的坐标)用这个坐标计算出所谓矩形的面积 …… 题解列表 2020年11月03日 0 点赞 0 评论 1041 浏览 评分:6.0