题解列表

筛选

2851: 合法C标识符

摘要:解题思路:注意事项:参考代码:s = input()s = s.replace("_",'a')if s[0].isdigit():    print("no")elif not s.……

3行:万花丛中过,片叶不沾身

摘要:解题思路:................>>.........。》。。》。。。。。。。。。。。。。。。注意事项:参考代码:a=int(input())b=int(input())print(a-b)……

2850: 输出亲朋字符串

摘要:解题思路:注意事项:参考代码:s1 = input()s2 = s1[1::1]s2 = s2 + s1[0]s = ""for i in range(len(s1)):    s += chr(or……

3行:万花丛中过,片叶不沾身

摘要:```python a=int(input()) b=int(input()) print(a+b) ``` 因为我也曾经站在门外 女孩 我的故事因为你而展开 。。。。。。。 。。。……

2849: 石头剪子布

摘要:解题思路:注意事项:参考代码:n = int(input())for i in range(n):    a,b = input().split()    if (a=='Rock'a……

2848: 基因相关性

摘要:解题思路:注意事项:参考代码:n = float(input())a = input()b = input()c = 0for i,j in zip(a,b):    if i == j:      ……

2846: 统计数字字符个数

摘要:解题思路:注意事项:参考代码:s = input()  c = 0  for i in s:      if i.isdigit():          c += 1  print(c)……

3行:万花丛中过,片叶不沾身

摘要:解题思路:摘一颗苹果,来送给你解渴注意事项:我也不知为何,伤口还没愈合参考代码:a=int(input())b=int(input())print(a*b)……