00:01
Hello? to solve this problem, we can break this down into two parts.
00:06
Assign the color pages and the black and white pages.
00:08
First, assigning the color pages.
00:09
Since there are 2 color printers, there are 2 color printers and 2 color pages.
00:30
The first and last page.
00:31
There are two ways to assign the color pages to the printers.
00:34
So printer 1 prints the first page.
00:36
And printer 2 prints the last page.
00:38
Printer 2 prints the first page and printer 1 prints the last page.
00:42
So, assigning the black and white pages.
00:44
There are 123 black and white pages from page 2 to page 124 that need to be assigned to the 5 printers.
00:53
Okay? assigned to the printers.
00:55
Here are 5 printers.
00:59
We can use the stars and bars method to count the number of pages to distribute these pages among the printers.
01:05
So, represent each black and white pages as a star and use bars to separate the pages assigned to different printers.
01:11
So, for example, if printer 1 gets 3 pages.
01:17
If printer 1 gets 3 pages.
01:24
Similarly, printer 2 gets 2 pages and printer 3 gets 1 page and printer 2 and printer 4 gets 4 pages and printer 5 gets 0 pages.
01:41
We can represent this as.
01:43
So, here i write it.
01:44
First is 3 pages.
01:48
Okay? so, 3 star then separated bar and 2 and 1 bar and 1 and 4 pages bar because 0 pages...