h2. Exemplu
table(example). |_. nkl.in |_. nkl.out |
table(example). |_. salturi.in |_. salturi.out |
| 6
1
3 2
| 16
|
| 6
1
5 3
| 256
|
h3. Explicaţie
Pentru primul test, tripletele sunt: $(1,6,6), (6,1,6), (6,6,1), (2,3,6), (3,2,6), (2,6,3), (6,2,3), (3,6,2), (6,3,2), *(6,6,6)*, (2,6,6), (6,2,6), (6,6,2), (3,6,6), (6,3,6), (6,6,3)$
Al doilea test este putin mai complicat.
Tripletele sunt: $(1,6,6), (6,1,6), (6,6,1), (2,3,6), (3,2,6), (2,6,3), (6,2,3), (3,6,2), (6,3,2), *(6,6,6)*, (2,6,6), (6,2,6), (6,6,2), (3,6,6), (6,3,6), (6,6,3)$
== include(page="template/taskfooter" task_id="nkl") ==