Save BPL

Limits: 1s, 50 MB

Bangladesh Premier League (BPL) is one the most prestigious cricket tournaments. Talented players from different countries gather here to show off their talents, share knowledge. But BPL committee is facing some difficulties in selecting teams, making budgets etc. They spend a few crores in buying softwares. But for a specific job, they need your help. There are N teams (0< N <= 50000). Each team primarily selects up-to M players (15 <= M <= 2000).


This is a companion discussion topic for the original entry at https://toph.co/p/save-bpl