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 <tex> T_i </tex>.
The second line contains $N$ integers T ~i~.
h2. Date de ieşire
* 1 ≤ $N$ ≤ $1000$
* 1 ≤ $K$ ≤ $1000$
* -10^9^ ≤ <tex> T_i </tex> ≤ 10^9^
* -10^9^ ≤ T ~i~ ≤ 10^9^
* For the first subtask, $K = 1$.
* For the second subtask, (1 ≤ $N$ ≤ $100$), (1 ≤ $K$ ≤ $100$).
Nu exista diferente intre securitate.
Topicul de forum nu a fost schimbat.