Easy25 pts
ACM ICPC Team
n people, m topics. String of 0/1 per person. Form 2-person teams. Max topics known by best team? How many teams achieve that?
Input
n m, then n binary strings.
Output
Two lines: max topics, number of teams.
Sample
4 5 10101 11100 11010 00101
Expected
5 2
Loading editor…
Output
No output yet. Run your code to see results.