牛客541017438号
牛客541017438号
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客541017438号的博客
全部文章
(共4篇)
题解 | #数字和为sum的方法数#
import sys inputs = [] for line in sys.stdin: inputs.extend(list(map(int, line.split()))) def count_combinations(n, sum, nums): dp = [[0 for...
2024-09-27
0
54
题解 | #进制转换#
import re import sys inputs = [] for line in sys.stdin: inputs.extend(list(map(int, line.split()))) def transfer_them(source, target): ...
2024-09-27
0
43
题解 | #地下迷宫#
import sys inputs = [] for line in sys.stdin: inputs.extend(list(map(int, line.split()))) def escape_matrix(nums): n, m, p = nums[0], nums[1...
2024-09-27
0
53
题解 | #餐馆#
import sys from typing import List inputs = [] for line in sys.stdin: inputs.extend(map(int, line.split())) def takeSecond(elem): return ele...
2024-09-27
0
52