Diferente pentru problema/knumere intre reviziile #3 si #2
Nu exista diferente intre titluri.
Diferente intre continut:
h2. Restricţii * $1 ≤ N ≤ 1 000 000$
* $1 ≤ K ≤ N$
* $0 ≤ Dist ≤ 2 147 483 647$ h2. Exemplu
h2. Restricţii * $1 ≤ N ≤ 1 000 000$
* $1 ≤ K ≤ N$
* $0 ≤ Dist ≤ 2 147 483 647$ h2. Exemplu