题解列表

筛选

独立完成啦兄弟们

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

erase的大作用

摘要:#include<bits/stdc++.h> using namespace std; int main() {     int t,i=0;     cin>>t;     while……

第n小的质数

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

C语言解自守数

摘要:解题思路:由自守数的概念可知,数的平方对数的位数求余即尾数。注意事项:最后的输出没有空格参考代码:#include <stdio.h> #include <math.h> int main() ……

2836: 数组逆序重放

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

2837: 年龄与疾病

摘要:解题思路:注意事项:参考代码:n = int(input())l = list(input().split())a = b = c = d = 0for i in l:    if 0 <= int(……