昵称已被占用啦啦啦
昵称已被占用啦啦啦
全部文章
分类
题解(4)
归档
标签
去牛客网
登录
/
注册
昵称已被占用啦啦啦的博客
全部文章
(共3篇)
如题
while True: try: s=input() for i in s: if i.isdigit()==False: s=s.replace(i," ") s=s.split() r1=max([len(i) fo...
2020-10-03
23
1104
这段代码怎么可能Case通过率为0?
def f(s): s =str(float(s)) s = s.split(".") if int(s[1][0])>=5: return int(s[0])+1 else: return int(s[0])
2020-09-17
0
528
在本地输出结果是1,牛客网判定输出结果是2,咋回事?
import collectionsdef f(s): s = dict(collections.Counter(s)) if i in s: count = s[i] return count s = "ABCaD"i = "a"print(f(s))
2020-05-30
1
1307