python解出来了 摘要:解题思路:注意事项:参考代码:ls = []ls1 =[]n = int(input())zz = input()ls = zz.split()for i in range (n): if ls…… 题解列表 2021年04月06日 0 点赞 0 评论 735 浏览 评分:0.0
编写题解 1024: [编程入门]矩阵对角线求和【易懂】 摘要:解题思路:注意事项:参考代码:sum1=0 sum2=0 a=[[0]*3]*3 for i in range(3): a[i]=list(map(int,input().sp…… 题解列表 2021年04月06日 0 点赞 0 评论 343 浏览 评分:0.0
题目 1035: [编程入门]自定义函数之字符类型统计 摘要:def fun(a, b, c, d,str): for i in str: if i.isalpha(): a = a + 1 elif i.…… 题解列表 2021年04月06日 0 点赞 0 评论 331 浏览 评分:0.0
题目 1033: [编程入门]自定义函数之字符提取 摘要:def fun(str): ls = [] for i in str: if i == 'a' or i == 'e' or i == …… 题解列表 2021年04月06日 0 点赞 0 评论 628 浏览 评分:0.0
蓝桥杯算法提高VIP-铺地毯(这是什么鬼题目,没得水平) 摘要:解题思路:注意事项:参考代码:n=int(input()) c=[list(map(int,input().split())) for _ in range(n)] x,y=map(int,inp…… 题解列表 2021年04月06日 0 点赞 0 评论 604 浏览 评分:0.0
题目 1032: [编程入门]自定义函数之字符串连接 摘要:def fun(str_1, str_2): new_ste = str_1 + str_2 return new_stestr_1 = input()str_2 = input()rel…… 题解列表 2021年04月06日 0 点赞 0 评论 646 浏览 评分:7.3
蓝桥杯算法提高VIP-连接乘积(代码简单,解释详细) 摘要:解题思路:注意事项:参考代码:#s是用来比较是否是1到9的全排列(set比较和顺序无关,元素一样就可) s=set(str(i) for i in range(1,10)) #结果列表 re=[…… 题解列表 2021年04月06日 0 点赞 0 评论 496 浏览 评分:0.0
1465: 蓝桥杯基础练习VIP-回形取数(Python3)模拟 摘要:解题思路:注意事项:参考代码:from itertools import cycle m, n = map(int, input().split()) map_ = [list(map(int…… 题解列表 2021年04月06日 0 点赞 0 评论 333 浏览 评分:0.0
[编程入门]自定义函数处理最大公约数与最小公倍数-题解(Python代码) 摘要:def fun_1(num_1, num_2): # 最大公约数 while not ( num_1 % num_2 == 0): temp = num_1 % num_2 …… 题解列表 2021年04月06日 0 点赞 0 评论 385 浏览 评分:0.0
数字游戏PYTHON 摘要:解题思路:注意事项:参考代码:def f(num): return num*(num+1)//2 +1 n,k,t=map(int,input().strip().split()) …… 题解列表 2021年04月06日 0 点赞 0 评论 380 浏览 评分:0.0