题解列表

筛选

与2无关的数——python

摘要:解题思路:注意事项:参考代码:def bxg(n):    if '2' in str(n) or n%2 == 0:        return 0    else:        ……

区间中最大的数

摘要:解题思路:注意事项:参考代码:n = int(input())L = list(map(int,input().split()))m = int(input())for i in range(m): ……

程序员爬楼梯——递归

摘要:解题思路:注意事项:参考代码:def pa(n):    if n == 1 or n == 2:        return 1    elif n == 3:        return 2   ……

枚举法,简单暴力好理解(小白题解)

摘要:解题思路:枚举每一天判断这一天是否符合要求注意事项:10000101 ≤ N ≤ 89991231我们的判断就得是八位数的最大 年份最大为9999参考代码:#include<bits/stdc++.h……