龙灬胆
龙灬胆
全部文章
分类
归档
标签
去牛客网
登录
/
注册
龙灬胆的博客
全部文章
(共48篇)
题解 | 小红的整数配对
while True: try: n, k = map(int, input().split()) number = list(map(int, input().split())) sorted_number = sorted(number, ...
2026-01-25
0
19
题解 | 清楚姐姐买竹鼠
while True: try: a, b, x = map(int, input().split()) # print(a, b, x) total = [] # 注意b类竹鼠不存在单个卖的情况 # 如果a类竹...
2026-01-25
0
26
题解 | 小红的字符串
while True: try: s = input() if len(s) % 2 == 0: half_index = len(s) // 2 - 1 # print(half_index) ...
2026-01-25
0
25
题解 | 支付宝消费打折
while True: try: n, k = map(int, input().split()) # print(n, k) price = map(int, input().split()) low_price = list...
2026-01-24
0
31
题解 | 成绩排序
while True: try: n = int(input()) op = int(input()) if op == 0: Sort = True else: Sort = F...
2026-01-24
0
27
题解 | 记票统计
while True: try: n = map(int, input()) name_list = input().split() m = map(int, input()) vote_name = input().split...
2026-01-17
0
29
题解 | 小苯送礼物
while True: try: n, k = map(int, input().split()) support_list = [] for i in range(n): star, collect = map(int...
2026-01-17
0
24
题解 | 不要三句号的歪
while True: try: str_list = input().split(',') print(int(str_list[-1]) - int(str_list[-3]) - 1) except Exception as e: ...
2026-01-17
0
25
题解 | 记负均正
while True: try: n = map(int, input()) numbers = list(map(int, input().split())) numbers_fushu = [] numbers_zhengs...
2026-01-05
0
27
题解 | 小红的魔法药剂
while True: try: n = int(input()) red_list = list(map(int, input().split())) blue_list = [] for i in range(n): ...
2026-01-03
0
30
首页
上一页
1
2
3
4
5
下一页
末页