Diferente pentru problema/monopoly intre reviziile #18 si #17

Nu exista diferente intre titluri.

Diferente intre continut:

h2. Date de intrare
The first line contains the integers $N$ and $K$ ($1$ ≤ $N$ ≤ $1000$), ($1$ ≤ $K$ ≤ $1000$).
The first line contains the integers $N$ and $K$ (1 ≤ $N$ ≤ 1000), (1 ≤ $K$ ≤ 1000).
The second line contains $N$ integers T ~i~ (-10^9^ ≤ T ~i~ ≤ 10^9^).
For tests worth $20$ point, $K = 1$.
h2. Date de ieşire

Nu exista diferente intre securitate.

Topicul de forum nu a fost schimbat.