编写题解 1013: [编程入门]Sn的公式求和 摘要:解题思路:注意事项:参考代码:a=int(input())sn=s=0i=1while i<=a: s=s+2*(10**(i-1)) sn=sn+s i+=1print(sn)…… 题解列表 2022年06月15日 0 点赞 0 评论 476 浏览 评分:0.0
编写题解 1012: [编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码:str1=input()mu,number,kong,n=0,0,0,0list=["0","1","2","3","4","5","6","7","8","9"]for…… 题解列表 2022年06月14日 0 点赞 0 评论 550 浏览 评分:0.0
编写题解 1006: [编程入门]三个数找最大值 摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().split())max=aif max<b: max=b if max<c: max=celse: …… 题解列表 2022年06月14日 0 点赞 0 评论 461 浏览 评分: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 评论 788 浏览 评分: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 评论 450 浏览 评分:6.0
生日日数——python 摘要:解题思路:注意事项:参考代码:def f(year1): if (year1 % 100 != 0 and year1 % 4 == 0) or year1 % 400 == 0: …… 题解列表 2022年06月10日 0 点赞 0 评论 308 浏览 评分:0.0
编写题解 1001: [编程入门]第一个HelloWorld程序(Python) 摘要:解题思路:只要用Python中print函数就行 注意事项:别把*的数量搞错了参考代码:print("**************************")print("Hello World!")…… 题解列表 2022年06月10日 0 点赞 0 评论 387 浏览 评分: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 评论 294 浏览 评分: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 评论 371 浏览 评分: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 评论 508 浏览 评分:9.9