题解列表

筛选

2836: 数组逆序重放

摘要:解题思路:注意事项:参考代码:n = int(input())l = list(input().split())l = l[::-1]print(" ".join(l))……

第n小的质数

摘要:解题思路:注意事项:参考代码:import mathn = int(input())flag = Truet = 0for i in range(2,100000):    flag = True  ……

你跟我说这是入门题?

摘要:解题思路:还是我文心一言牛逼霍,直接复制粘贴就对了注意事项:参考代码:def check_matrix(matrix):      n = len(matrix)      row_counts = ……

独立完成啦兄弟们

摘要:解题思路:除了b1[1:m-1]问文心一言外其他自己写的注意事项:参考代码:m,n=map(int,input().split())b1=[]for i in range(m):    l1=list……

题解 2833: 金币

摘要:解题思路:注意事项:参考代码:n = int(input())s = 0m = 0d = 0while True:    m +=1    s += m*m    d += m    if d >= ……

2831: 画矩形

摘要:解题思路:注意事项:参考代码:l = list(input().split())a = int(l[0])b = int(l[1])if l[3] == '0':    print(b……

2826: 雇佣兵

摘要:解题思路:注意事项:参考代码:import mathm,n,x=map(int,input().strip().split())while x*n >= m :    x -= math.ceil(m……

2825: 计算多项式的值

摘要:解题思路:注意事项:参考代码:x,n = map(float,input().split())n = int(n)s = 0t = 1for i in range(n+1):    s += t   ……