1号邮差
1号邮差
全部文章
分类
题解(3)
归档
标签
去牛客网
登录
/
注册
1号邮差
竹杖芒鞋轻胜马,谁怕?一蓑烟雨任平生。
全部文章
(共3篇)
题解 | #参数解析#
class IpMask: def __init__(self, ip_mask): self.ip_mask = ip_mask.strip() self.d1 = dict.fromkeys('abcdefg', 0) def __ip(sel...
Python3
2021-11-30
0
358
题解 | #参数解析#
import sys for line in sys.stdin: input1 = line.strip() ll = [] if '"' in input1: input2 = input1.split('"') for w in inpu...
Python3
2021-11-30
2
389
题解 | #查找兄弟单词#
def counts(wrd, q): '''统计字频''' for x1 in wrd: q[x1] += 1 return q for line in sys.stdin: _, *words, wd, k = line.strip().spli...
Python3
2021-11-26
0
262