3094: A Simple Question

时间限制:1000 ms 内存限制:128 MB
上传者:
提交:98 通过:26

题目描述

2021 marks the 70th anniversary of the founding of Chang'an University, at the same time, the annual Chang'an University Programming Competition was also held as scheduled. There will be n teams participating in 2021. They come from different schools. Here is a simple question to warm up, please figure out the number of teams in the school with the most participating teams.

输入格式

The first line contains an integer $T(1\leq T\leq 20)$, the number of test cases you need to solve.

Each case begins with an integer $n(1\le n \le 100)$, indicating the number of teams.

In the next n lines, each line describes the team's school name. The name contains only letters and numbers, and the length does not exceed 20.

输出格式

For each test case, output an integer.

输入样例 复制

1
3
CHD
CHD
NWU

输出样例 复制

2