蓝桥杯算法提高VIP-扫雷-题解(Python代码) 摘要:代码如下: def pd(t,y,z): s=0 if y==0: if z==0: if…… 题解列表 2019年12月15日 0 点赞 1 评论 598 浏览 评分:9.9
DNA-题解(Python描述,函数复用) 摘要:# 1115题-DNA-题解(Python描述) **首先观察给出的DNA序列,我们可以划分为b个a-1行再加上最后一行,在观察每一个X的位置都是有规律的,下面给出代码:** ## 我的代…… 题解列表 2019年12月14日 0 点赞 1 评论 1149 浏览 评分:9.7
Minesweeper -题解(Python代码) 详细 清楚 易懂!!!!! 摘要:**代码如下:** **自定义函数部分:** def pd(t,y,z): s=0 if y==0: if z==0: …… 题解列表 2019年12月14日 0 点赞 2 评论 518 浏览 评分:9.0
蓝桥杯算法提高-能量项链 (Python代码) 摘要:先把代码放着找时间再写题解... ```python N = int(input()) num = list(map(int,input().split())) arr = [([0]…… 题解列表 2019年12月12日 0 点赞 0 评论 1733 浏览 评分:9.9
字符串的输入输出处理-题解(Python代码) 摘要:**代码如下:** n=int(input()) for i in range(n): x=input() print(x) …… 题解列表 2019年12月11日 0 点赞 2 评论 2300 浏览 评分:7.3
弟弟的作业-题解(Python代码)超级简单,易懂!!! 摘要:**代码如下:** n=0 while True: try: x=input() x=x.replace(…… 题解列表 2019年12月11日 0 点赞 1 评论 1278 浏览 评分:6.0
汽水瓶-题解(Python代码) 摘要:**代码如下:** while True: x=int(input()) if x==0: break i…… 题解列表 2019年12月11日 0 点赞 0 评论 2132 浏览 评分:8.9
[编程入门]三个数最大值-题解(Python代码) 摘要:``` # map函数是将列表一个个的传到左边的函数,这里是将字符串转成int类型 lis = map(int, input().strip().split()) # 直接调用python的内置…… 题解列表 2019年12月08日 0 点赞 0 评论 1111 浏览 评分:8.0
[编程入门]第一个HelloWorld程序!-题解(Python代码) 摘要:``` # 先打印星号的个数,然后在手动写上 # print(len('**************************')) print('*'*26) print('Hello Wor…… 题解列表 2019年12月08日 0 点赞 0 评论 1065 浏览 评分:7.5
[竞赛入门]简单的a+b-题解(Python代码) 摘要:``` while True: try: a,b = map(int, input().strip().split()) if a > 2**10 or…… 题解列表 2019年12月08日 0 点赞 0 评论 1596 浏览 评分:7.1