利用中心对称思路来解决 摘要:解题思路:仔细观察图形,我们可以发现这是一个中心且轴对称图形。可以看作由一个图形经旋转变换得到的。可以分成8个相等的三角形,这里我用n=3来进行具体说明:...$$$$...$.$$$$.$...$.…… 题解列表 2021年04月14日 0 点赞 0 评论 420 浏览 评分:6.0
1432: 蓝桥杯2013年第四届真题-剪格子(Python3)DFS 摘要:解题思路:注意事项:参考代码:def dfs(x=0, y=0, add_all=0): global map_, visited, around, sum_, res, end_flag…… 题解列表 2021年04月14日 0 点赞 0 评论 256 浏览 评分:2.0
自己调用自己(Python) 摘要:def panduan(n): if n==3 or n==2: return 1 elif n==1: return 0 else: wh…… 题解列表 2021年04月14日 0 点赞 0 评论 377 浏览 评分:0.0
蓝桥杯基础练习VIP-回形取数-python 摘要:解题思路:注意事项:参考代码:n,m = map(int,input().split()) ls = [] for i in range(n): s = input().split()…… 题解列表 2021年04月14日 0 点赞 0 评论 375 浏览 评分:9.9
蓝桥杯2018年第九届真题-倍数问题 搜索(限制搜索范围) 摘要:解题思路:注意事项:参考代码:n, k = map(int, input().split()) nums = [int(i) for i in input().split()] nums.so…… 题解列表 2021年04月13日 0 点赞 3 评论 945 浏览 评分:9.9
Sine之舞暴力法 摘要:解题思路:注意事项:参考代码:n = int(input())if n==1: print("sin(1)+1")else: Sn = "(sin(1)+"+str(n)+")" f…… 题解列表 2021年04月13日 0 点赞 0 评论 259 浏览 评分:8.0
python解决核桃的数量 摘要:参考代码:# 获取m,n的最小公倍数 def Fun(m, n): if n % m == 0: tmmmn = n else: 题解列表 2021年04月12日 0 点赞 0 评论 535 浏览 评分:0.0
python用map函数只需要三行 摘要:解题思路: 输入数据 处理数据: 用map函数处理字符串,在python3中map函数是返回的迭代器,所以使用list(map())可以将字符串处理成…… 题解列表 2021年04月11日 0 点赞 0 评论 485 浏览 评分:6.0
1604: 蓝桥杯算法训练VIP-阶乘 摘要:解题思路:注意事项:注意单词别打错,人生苦短,我学python参考代码:import mathnumbers = math.factorial(int(input()))while numbers %…… 题解列表 2021年04月11日 0 点赞 0 评论 503 浏览 评分:0.0
Tom数-题解(Python代码) 摘要:```python import sys while True: line = sys.stdin.readline().strip() if not line: …… 题解列表 2021年04月11日 0 点赞 0 评论 301 浏览 评分:0.0