题解列表

筛选

编写题解 1098: 陶陶摘苹果

摘要:解题思路:注意事项:参考代码:a = list(map(int,input().split(" ")))b = int(input())b  = b+30count = 0for i in range……

2817: 级数求和

摘要:注意事项:参考代码:Sn = n = 0 k = int(input()) while True:     n = n + 1     Sn = Sn + 1/n      if Sn >

2869: 字符串最大跨距

摘要:解题思路:注意事项:参考代码:s,s1,s2 = input().strip().split(",") if s1 in s and s2 in s:     a = s.index(s1)  ……

3030基础解法(Python)

摘要:解题思路:恰如title注意事项:理解库函数即可参考代码:import itertoolss = input()for data in itertools.permutations(s, len(s)……

2851: 合法C标识符

摘要:#include<stdio.h> #include<math.h> #include<string.h> # define N 100001 int main() {     c……

计算输入数据的和与乘积

摘要:解题思路:注意事项:参考代码: #include<stdio.h> int main(){     int n, sum=0, a=1;     scanf("%d", &n); ……