Diferente pentru problema/monopoly intre reviziile #40 si #41

Nu exista diferente intre titluri.

Diferente intre continut:

h2. Date de intrare
The first line contains the integers $N$ and $K$.
The second line contains $N$ integers T ~i~.
The second line contains $N$ integers <tex> T_i </tex>.
h2. Date de ieşire
* 1 &le; $N$ &le; $1000$
* 1 &le; $K$ &le; $1000$
* -10^9^ &le; T ~i~ &le; 10^9^
* -10^9^ &le; <tex> T_i </tex> &le; 10^9^
* For the first subtask, $K = 1$.
* For the second subtask, (1 &le; $N$ &le; $100$), (1 &le; $K$ &le; $100$).

Nu exista diferente intre securitate.

Topicul de forum nu a fost schimbat.