Regroup Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1057 Accepted Submission(s): 297 Problem Description When ALPC42 got to a panzer brigade, He was asked to build software to help them r…
题意: AP x yA recruit with ability rate x were asked to join company y. (0<=x<2^31, 0<=y<n) MG x yCompany x and company y is merged. The new company is numbered as x. (0<=x, y<n) GT xReport the fighting capacity of company x. (0<=x<…
Marriage Match II Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3558 Accepted Submission(s): 1158 Problem Description Presumably, you all have known the question of stable marriage match. A…