在午休的嘟教授很讨厌吃香菜
在午休的嘟教授很讨厌吃香菜
全部文章
分类
归档
标签
去牛客网
登录
/
注册
在午休的嘟教授很讨厌吃香菜的博客
全部文章
(共2篇)
题解 | 相邻的数字
n = int(input()) res = {} cur_max = 0 for i in range(n-10,n+11): s = str(i) cur = 0 for j in range(1,len(s)): if s[j]==s[j-1]: ...
2025-11-08
0
10
题解 | 喜欢
n,p = map(float,input().split()) s = list(map(float,input().split())) res = 0 cur_p = 1 for i in range(int(n)): res += cur_p * p * s[i] * (i+1) ...
2025-11-08
0
11