Current location - Training Enrollment Network - Mathematics courses - Mathematical printing problem
Mathematical printing problem
(1) First, sort the printing times of all numbers from small to large, and find out the smallest group of 2 1 numbers;

(2) Print 2 1 number according to the minimum printing times, thus ensuring that a minimum number is printed in one round, leaving 20 numbers in the group;

(3) among all the numbers (excluding the last group), find a number with the least demand (i.e. the 22nd number in the sequence) and re-form a new group with the remaining 20 numbers in the last round;

(4) Repeat (2) and (3);