摘要:
python实现 num=int(input()) lst=[] for i in range(num): s=input() n=int(s.split(" ")[0]) for j in range(n): lst.append(int(s.split(" ")[j+1])) lst.sort( 阅读全文
posted @ 2024-07-05 21:42
豆豆是只乖狗狗
阅读(29)
评论(0)
推荐(0)
摘要:
python 实现 s=str(input()) lst=[0,0,0,0] for item in s: if item=="G" or item=="g": lst[0]+=1 elif item=="P" or item=="p": lst[1]+=1 elif item=="L" or it 阅读全文
posted @ 2024-07-05 17:30
豆豆是只乖狗狗
阅读(24)
评论(0)
推荐(0)

浙公网安备 33010602011771号