牛客229068068号
牛客229068068号
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客229068068号的博客
全部文章
(共49篇)
题解 | 小红的校招笔试
Join_number = int(input()) score_list = list(map(int,input().split())) Hong_score = score_list[0] score_list.sort(reverse=True) if(Join_number==0): ...
2025-07-31
0
41
题解 | 小红的矩阵
from re import L num1,num2 = map(int,input().split()) count =0 for i in range(1,num1+1): list1 = list(map(str , input().split())) for j in ran...
2025-07-30
0
40
题解 | 快乐的字符串
num = int(input()) list1 =[] for i in range(0,num): list1.append(input()) list_convert=list(map(str,list1[i])) convert_len =len(list_conve...
2025-07-29
0
43
题解 | 小红的优惠券
price , discount =map(int,input().split()) discount_detail ={} for i in range(1,discount+1): toatl1 , sub1 = map(int,input().split()) discount...
2025-07-28
0
26
题解 | 数字颠倒
num1 = list(map(int,input())) num1.reverse() for i in num1: print(i,end='')
2025-07-28
0
27
题解 | 数字颠倒
num1 = list(map(int,input())) num1.reverse() for i in num1: print(i,end='')
2025-07-28
0
21
题解 | 小红比身高
friend_num , stare_num, Hong_height =map(int,input().split()) Fheight_list = list(map(int,input().split())) stare_list = list(map(int,input().split())...
2025-07-27
0
26
题解 | 数颜色
color = list(input()) n =len(color) list1 =[] count_r =0 count_g =0 count_b =0 for i in range(0,n): if(color[i] == 'R'): count_r +=1 ...
2025-07-26
0
45
题解 | 穷哈哈~
def max_laugh_sequence(s): max_length = 0 current_length = 0 for i in range(len(s)): if s[i] == 'a': # 如果当前字符是 'a',则尝...
2025-07-26
0
21
题解 | 买橘子
target = int(input()) if(target==6 or target==8): print('1') else: buy_number=[] count=0 while target>5: if((target-6)%8==0...
2025-07-25
0
27
首页
上一页
1
2
3
4
5
下一页
末页