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