吐雾兔
吐雾兔
全部文章
分类
归档
标签
去牛客网
登录
/
注册
吐雾兔的博客
全部文章
(共5篇)
题解 | 小红的01串
for _ in range(int(input())): s=input() if len(set(s))==1: print('Yes') else: print('Yes' if s.count('1')&s.count('0')...
2025-12-31
0
16
题解 | 圣
from functools import reduce for _ in range(int(input())): input() b=list(map(int,input().split())) print(reduce(lambda x, y: x ^ y, b, 0)...
2025-12-23
0
16
题解 | 圣
from functools import reduce for _ in range(int(input())): a=0 n=int(input()) b=list(map(int,input().split())) print(reduce(lambda x,...
2025-12-23
0
11
题解 | 至
n = int(input()) x1, y1 = map(int, input().split()) x2, y2 = map(int, input().split()) # 计算无障碍物时到终点(2,n)的最短路径长度 def calc_shortest(x, y, n): if x ...
2025-12-20
0
18
题解 | 比大小
a,b=map(int,input().split()) if a>b: print('>') elif a==b: print('=') else: print('<')
2025-08-28
1
49