Pagini recente » Monitorul de evaluare | Diferente pentru utilizator/selony intre reviziile 2 si 3 | Diferente pentru utilizator/alexas intre reviziile 2 si 3 | Diferente pentru utilizator/informatician28 intre reviziile 15 si 14 | Diferente pentru problema/monopoly intre reviziile 19 si 20
Nu exista diferente intre titluri.
Diferente intre continut:
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$.
For tests worth $20$ points, $K = 1$.
For tests worth $30$ more points (1 ≤ $N$ ≤ $100$), (1 ≤ $K$ ≤ $100$).
h2. Date de ieşire
În fişierul de ieşire $monopoly.out$ ...
You need to write a single line with an integer: the amount of money Carlo loses during the game.
h2. Restricţii
* $... ≤ ... ≤ ...$
h2. Exemplu
table(example). |_. monopoly.in |_. monopoly.out |
| This is some
text written on
multiple lines.
| This is another
text written on
multiple lines.
|
| 11 1
|0 5 4 12 6 3 15 7 2 20 5
h3. Explicaţie
Nu exista diferente intre securitate.
Topicul de forum nu a fost schimbat.