题解列表

筛选

与2无关的数——python

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

谁是你的潜在朋友

摘要:解题思路:注意事项:参考代码:while True:    try:        n,m = map(int,input().split())        L = [int(input()) fo……

字符串连接——python

摘要:解题思路:注意事项:参考代码:while True:    try:        a,b = map(str,input().split())        print(a+b)    except……

后缀子串排序——python

摘要:解题思路:注意事项:参考代码:while True:    try:        L = input()        L2 = []        for i in range(len(L)): ……

求最大值——python

摘要:解题思路:注意事项:参考代码:while True:    try:        L = list(map(int,input().split()))        print(f"max={max……

蓝桥杯2014年第五届真题-Log大侠

解题思路:注意事项:参考代码:frommathimport*n,m=map(int,input().split())L=list(map(int,input().split()))foriinrange(m):a,b=map(int,input().split())forjinrange(a-1,

蓝桥杯算法训练VIP-集合运算

解题思路:注意事项:参考代码:n=int(input())L1=list(map(int,input().split()))L1.sort()m=int(input())L2=list(map(int,input().split()))L2.sort()foriinL1:ifiinL2:print(i