Diferente pentru problema/cifrul intre reviziile #8 si #7
Nu exista diferente intre titluri.
Diferente intre continut:
* <tex>1</tex> ≤ <tex>T</tex> ≤ <tex>5</tex> * <tex>1</tex> ≤ <tex>N</tex> ≤ <tex>100</tex> * <tex>1</tex> ≤ <tex>M</tex> ≤ <tex>16</tex>
* <tex>1</tex> ≤ <tex>K,D</tex>≤<tex>10^6</tex>
* <tex>1</tex> ≤ <tex>K,D</tex> <= <tex>10^6</tex>
h2. Exemplu