编写题解 1006: [编程入门]三个数找最大值 摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().split())max=aif max<b: max=b if max<c: max=celse: …… 题解列表 2022年06月14日 0 点赞 0 评论 349 浏览 评分:0.0
小南解题--纸张尺寸--58ms 摘要:zgn946 13:48 2022/6/12省赛时写的--小南'''for i in range(9): d=[max(b,c)//2,min(b,c)] d.s…… 题解列表 2022年06月12日 0 点赞 0 评论 695 浏览 评分:6.7
1183: 人见人爱A+B 摘要:解题思路:注意事项:参考代码:n=int(input())for i in range(n): a,b,c,d,e,f=map(int,input().split()) s=(c+f)%6…… 题解列表 2022年06月12日 0 点赞 0 评论 330 浏览 评分:6.0
生日日数——python 摘要:解题思路:注意事项:参考代码:def f(year1): if (year1 % 100 != 0 and year1 % 4 == 0) or year1 % 400 == 0: …… 题解列表 2022年06月10日 0 点赞 0 评论 228 浏览 评分:0.0
编写题解 1001: [编程入门]第一个HelloWorld程序(Python) 摘要:解题思路:只要用Python中print函数就行 注意事项:别把*的数量搞错了参考代码:print("**************************")print("Hello World!")…… 题解列表 2022年06月10日 0 点赞 0 评论 305 浏览 评分:0.0
1022: [编程入门]筛选N以内的素数 摘要:a=int(input()) ls=[2] for i in range(3,a+1,2): flag=0 for j in ls: if i%j==0: …… 题解列表 2022年06月10日 0 点赞 0 评论 246 浏览 评分:0.0
1022: [编程入门]筛选N以内的素数 摘要:a=int(input()) ls=[2] for i in range(3,a+1,2): flag=0 for j in ls: if i%j==0: …… 题解列表 2022年06月10日 0 点赞 0 评论 331 浏览 评分:0.0
基础解法(有手就行) 摘要:解题思路:python学一个星期就会了注意事项:无参考代码:def copy(b,a): c=0 for i in a: c+=1 if c>=b: print(i,end…… 题解列表 2022年06月09日 0 点赞 0 评论 421 浏览 评分:9.9
python直观解法 摘要:解题思路:注意事项:参考代码:cow_age = [1, 0, 0]n = int(input())for year in range(2, n+1): temp = cow_age[2] …… 题解列表 2022年06月09日 0 点赞 0 评论 262 浏览 评分:0.0
核电站python直观解法 摘要:解题思路:后续添加注意事项:后续添加参考代码:def f(m1, n1): if m1 == 0: return 1 sum_m = 1 for n_f in rang…… 题解列表 2022年06月08日 0 点赞 0 评论 288 浏览 评分:0.0