Diferente pentru problema/cifrul intre reviziile #10 si #9
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</tex> ≤ <tex>10^6</tex> * <tex>1</tex> ≤ <tex>D</tex> ≤ <tex>K/2</tex>
h2. Exemplu