题解列表

筛选

题目有漏洞吧

摘要:解题思路:本来还要判断两边之和大于第三边,没想到不用,这是为什么,请问,这样就一定能成为三角形吗?是不是题目有漏洞?注意事项:参考代码:##l=list(map(int,input().split()……

平均值计算python

摘要:解题思路:注意事项:参考代码:n = list(map(int,input().split()))s = sum(n)/(len(n))count = 0for i in n:    if i>s: ……

结构体之时间设计

摘要:解题思路:注意事项:参考代码:y,m,d = map(int,input().split())m1 = [1,3,5,7,8,10,12]m2 = [4,6,9,11]s = 0for i in ra……

编写题解 2850: 输出亲朋字符串

摘要:解题思路:设计两个移动指针count1,count2注意事项:参考代码:str=input() ls=[] #初始化空列表 count1=0 #设计两个相邻指针并初始化 count2=1 wh……

编写题解 2849: 石头剪子布

摘要:解题思路:注意事项:参考代码:ls=["Rock", "Scissors", "Paper"] #选择 def judge(S1,S2):     if S1==S2: #平局         ……

最简的题解,等比公式求和

摘要:解题思路:要多利用数学公式注意事项:参考代码:b=int(input()) a=100*(1-0.5**b)*4-100      //路程是位移的两倍,减去一开始多算的100就行了 print(……

混个经验值

摘要:解题思路:............................注意事项:参考代码:num=eval(input()) a=0 for i in range(2,num):     if nu……