题解 1567: 蓝桥杯算法提高VIP-超级玛丽 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class 超级玛丽 { /** * @param args */ pub…… 题解列表 2021年04月11日 0 点赞 0 评论 237 浏览 评分:0.0
1041: [编程入门]宏定义之找最大数 摘要:解题思路:用了if语句注意事项:要写两个cout << fixed << setprecision(3) << a << endl;参考代码:#include<bits/stdc++.h>using…… 题解列表 2021年04月11日 0 点赞 0 评论 266 浏览 评分:9.9
题目 1434: 蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int a[7]; int n,n1; int main(){ …… 题解列表 2021年04月11日 0 点赞 0 评论 222 浏览 评分:9.9
带参宏定义 摘要:解题思路:宏定义的本质是替换过程注意事项:未知变量在主函数中定义参考代码:#include<iostream>using namespace std;#define swap(x,y) {t=x,x=…… 题解列表 2021年04月11日 0 点赞 0 评论 209 浏览 评分:0.0
思路清晰C语言代码 摘要:解题思路:首先,我们要先先判断出哪些数字中含有 2 ,0 ,1 ,9 ,我们可以设置一个函数fun来判断通过while 循环 ,把每一位数都给模出来,然后和 2 ,0 ,1, 9, 这四个数字进行比较…… 题解列表 2021年04月11日 0 点赞 0 评论 430 浏览 评分:9.9
代码比较长,建议耐心食用 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <stdlib.h> #include <string.h> int findchar(char a[]…… 题解列表 2021年04月11日 0 点赞 2 评论 741 浏览 评分:9.9
1604: 蓝桥杯算法训练VIP-阶乘 摘要:解题思路:注意事项:注意单词别打错,人生苦短,我学python参考代码:import mathnumbers = math.factorial(int(input()))while numbers %…… 题解列表 2021年04月11日 0 点赞 0 评论 381 浏览 评分:0.0
Tom数-题解(Python代码) 摘要:```python import sys while True: line = sys.stdin.readline().strip() if not line: …… 题解列表 2021年04月11日 0 点赞 0 评论 267 浏览 评分:0.0
1630: 蓝桥杯算法训练VIP-摆动序列(Python3)DFS+打表 摘要:解题思路: DFS注意事项: Python用DFS在数据量大的时候会超时(6-7s),所以打表更稳一些。参考代码:def test(num, index): global tem…… 题解列表 2021年04月10日 0 点赞 0 评论 460 浏览 评分:0.0
龟兔赛跑预测。 摘要:解题思路:注意事项:参考代码:int main(){ int v1,v2,s,t,l; scanf("%d%d%d%d%d",&v1,&v2,&t,&s,&l); int s1=0,…… 题解列表 2021年04月10日 0 点赞 0 评论 301 浏览 评分:0.0