python党食用(链表详细题解) 摘要:- **类定义** ```python class Node: def __init__(self,real,imag): …… 题解列表 2022年01月30日 0 点赞 0 评论 479 浏览 评分:9.9
1976: 蓝桥杯算法提高VIP-删除重复元素 摘要:解题思路:注意事项:参考代码:a=input() for i in a: if i not in a[:a.index(i)]+a[a.index(i)+1:]: pri…… 题解列表 2022年01月29日 0 点赞 0 评论 289 浏览 评分:0.0
2252: 蓝桥杯算法提高-矩阵转置 摘要:解题思路:注意事项:参考代码:a,b=map(int,input().split()) lis=[] for j in range(a): ls = list(map(int,input…… 题解列表 2022年01月29日 0 点赞 0 评论 339 浏览 评分:0.0
2233: 蓝桥杯算法训练-图形显示 摘要:解题思路:注意事项:参考代码:n = int(input()) for i in list(range(1,n+1))[::-1]: print('* '*i)…… 题解列表 2022年01月29日 0 点赞 0 评论 251 浏览 评分:0.0
2236: 蓝桥杯算法训练-大小写转换 摘要:解题思路:注意事项:参考代码:n = input() for i in n: if i.isupper(): print(i.lower(),end=''…… 题解列表 2022年01月29日 0 点赞 0 评论 390 浏览 评分:9.9
1122: C语言训练-亲密数 摘要:解题思路:注意事项:参考代码:def yizi(d): s=0 for i in range(1,d//2+1): if d%i==0: &nbs 题解列表 2022年01月29日 0 点赞 0 评论 246 浏览 评分:0.0
python-扑克排序 摘要:解题思路:①将2~10,J,Q,K,A 分别对应下标0~13②将颜色方块(d)、梅花(c)、红桃(h)、黑桃(s)分别对应下标0~3③将结果存放在result数组中,数组中每个元素为一个4*1大小的数…… 题解列表 2022年01月29日 0 点赞 0 评论 896 浏览 评分:4.0
优质题解 python-8皇后·改 摘要:解题思路:首先解释一下8皇后这个问题。在8×8格的国际象棋上摆放8个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列或同一斜线上,问有多少种摆法。思路:①创建一个组1*8的数组A[],其…… 题解列表 2022年01月29日 0 点赞 0 评论 474 浏览 评分:9.9
1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:y,m,d=map(int,input().split()) d1=[31,28,31,30,31,30,31,31,30,31,30,31] d2=[31,29,3…… 题解列表 2022年01月29日 0 点赞 0 评论 174 浏览 评分:0.0
1120: C语言训练-"水仙花数"问题2 摘要:解题思路:注意事项:参考代码:for n in range(100,1000): a=n%10 b=n//10%10 c=n//100 if(a**3+b**3+c**3==n…… 题解列表 2022年01月28日 0 点赞 0 评论 268 浏览 评分:0.0