python水仙花数判断 摘要:解题思路:直接用到pow函数注意事项:注意符号参考代码:for i in range(100,999): a=int(i%10) b=int(i/10%10) c=int(i/100…… 题解列表 2023年05月26日 0 点赞 0 评论 296 浏览 评分:0.0
计算两点间的距离 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Dome25 { public static void main(String…… 题解列表 2023年05月26日 0 点赞 0 评论 361 浏览 评分:0.0
蓝桥杯算法训练-字符串合并 摘要:### C++中的string类 ```c++ #include #include using namespace std; int main() { string a,b;…… 题解列表 2023年05月26日 0 点赞 0 评论 438 浏览 评分:0.0
编写题解 2006: 寻找奇整数 摘要:## 暴力查找 ```c++ #include int main() { int nums[] = { 3,7,5,13,25,45,78,23,8,33,9,19,28,41,5…… 题解列表 2023年05月26日 0 点赞 0 评论 380 浏览 评分:0.0
2001: 边长判断 摘要:## if判断 ```c++ #include using namespace std; int main() { int a,b,c; cin>>a>>b>>c; …… 题解列表 2023年05月26日 0 点赞 0 评论 311 浏览 评分:0.0
蓝桥杯2021年第十二届国赛真题-大写 摘要:## C++中的string ```c++ #include int main() { std::string A; std::getline(std::cin, A)…… 题解列表 2023年05月26日 0 点赞 0 评论 426 浏览 评分:0.0
不重复地输出数:双指针+qsort 摘要:### 快排+双指针去重 ```c++ #include #include using namespace std; int cmp(const void*a,const void*b) …… 题解列表 2023年05月26日 0 点赞 0 评论 347 浏览 评分:0.0
蓝桥杯2020年第十一届省赛真题-整除序列 摘要:## 一定要使用Long long ```c++ #include using namespace std; int main() { long long n; c…… 题解列表 2023年05月26日 1 点赞 0 评论 346 浏览 评分:0.0
2771,大象喝水 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int h,r; float v,n; scanf("%d%d",&h,&r); v=3…… 题解列表 2023年05月27日 0 点赞 0 评论 371 浏览 评分:0.0
三个数找最大值 摘要:解题思路:注意事项:求大佬解惑就是后面的那个for循环的i的范围为什么从0if语句中(a[i]>a[i+1]){max =a[i+1];}这么写为什么不全对参考代码:// 一行数组,分别为a b c#…… 题解列表 2023年05月27日 0 点赞 0 评论 217 浏览 评分:0.0