尹煜
尹煜
全部文章
题解
归档
标签
去牛客网
登录
/
注册
尹煜的博客
全部文章
/ 题解
(共6篇)
题解 | #密码验证合格程序#
''' 1.定义check函数,re.findall正则对应要求2,最后判断重复 2.循环输入字符串并check ''' import re def check(word): if len(word) <= 8:  ...
Python3
2022-05-01
0
354
题解 | #简单错误记录#
list1 = [] while True: try: line = input().split('\\')[-1][-20:] # 加上了数字和空格,所以是-20  ...
Python3
2022-04-24
1
466
题解 | #坐标移动#
list1 = input().split(';') temp = [0,0] words = 'ADWS' def move(word): #具体情况下的移动  ...
Python3
2022-04-24
0
417
题解 | #机器人的运动范围#
n = int(input()) dic = {} for i in range(n): key,value = map(int,input().split('&...
Python3
2022-04-23
0
439
题解 | #机器人的运动范围#
class Solution: def movingCount(self, threshold: int, rows: int, cols: int) -> int: # write code here &nb...
Python3
2022-04-19
0
437
题解 | #成绩输入输出#
t,k = map(str,input().split(' ')) h,m = map(int,t.split(':')) k = int(k) + h*60 + m h_now ...
Python3
2022-04-17
0
420