Päevaülesanne

Juhuslik

Harjutuskomplekt

Balti Tee 1998 · Ülesanne 17

Kombinatoorika

Let nn and kk be positive integers. There are nkn k objects (of the same size) and kk boxes, each of which can hold nn objects. Each object is coloured in one of kk different colours. Show that the objects can be packed in the boxes so that each box holds objects of at most two colours.

Muuda valikut

Kui oled valmis

Ülevaatematerjal muutub kättesaadavaks järgmise päevaülesannete komplektiga.

Ülevaade

Teemad

Värvimised ja konfiguratsioonid · Dirichlet’ printsiip ja ekstremaalargumendid · Induktsioon ja rekursioon

Lahendused

Lahendus

Solution:

If k=1k=1, it is obvious how to do the packing. Now assume k>1k>1. There are not more than nn objects of a certain colour - say, pink - and also not fewer than nn objects of some other colour - say, grey. Pack all pink objects into one box; if there is space left, fill the box up with grey objects. Then remove that box together with its contents; the problem gets reduced to an analogous one with k−1k-1 boxes and k−1k-1 colours. Assuming inductively that the task can be done in that case, we see that it can also be done for kk boxes and colours. The general result follows by induction.

Võistluse kontekst

Balti Tee tulemused 1998

11 võistkonda

Keskmine tulemus
4,3 / 5
4 või 5 punkti
9 / 11
Eesti
5 / 5

Punktijaotus

01
10
20
31
41
58
Kõigi võistkondade punktid
VõistkondPunktid
Latvia5 / 5
Estonia5 / 5
Poland5 / 5
Finland5 / 5
St. Petersburg5 / 5
Sweden5 / 5
Denmark4 / 5
Iceland3 / 5
Norway5 / 5
Germany0 / 5
Lithuania5 / 5