题解 | #查询满足区间的记录#
查询满足区间的记录
https://www.nowcoder.com/practice/3eb4f4f8128a4372880ea73e2bbc0d7e
n=int(input()) t=int(input()) res=[] for i in range(n): o,s,e=list(map(int,input().split())) if s<=t<=e: res.append(o) res.sort() if not res: print('null') for v in res: print(v)