Forming Teams

Problem Number: 
13 085
Type of Problem: 
Problem Category: 
Input: 
Random Input
0
0
Critical Input: 
Random Input: 
100 120750 1 230684 440452 862177 713219 480193 317027 974384 53694 354010 312 474199 415835 335961 925268 6301 360331 73364 656124 561374 245913 263436 253184 559097 590313 503568 983731 853421 29549 17696 90983 74439 191588 954627 801305 4576 447905 828925 186854 733452 105461 5 566527 598901 58720 779201 743110 727063 151131 349550 168369 986240 755362 962098 822348 750822 453714 772714 777468 953137 398211 410161 561482 837875 593308 951202 836477 823739 492153 440619 765026 197707 968784 621862 106063 304281 10331 74299 673230 164766 813523 706156 136826 624824 686133 794659 869849 844303 67436 968415 223865 124775 857178 150619 863055 986387 871176 1000000 763218
Problem Id: 
13085