pintia考试座位号
时间: 2023-12-01 09:43:00 浏览: 126
1.考试座位号.c
以下是求解Pintia考试座位号的Python代码:
```python
n = int(input())
seats = [0] * (n + 1)
for i in range(n):
info = input().split()
seats[int(info[1])] = info[0]
m = int(input())
query = input().split()
for q in query:
print(seats[int(q)])
```
阅读全文