barcelona6289 написа:
аз имам друг въпрос
зацепих на Новерия трябва да активирам един реактор но нз как
ако някой помогне ще съм му много благодарен
Това е задачата за Ханойските кули, в играта мисля че беше с 5 диска което става така (ако A,B и C са ти 3те стълба):
Код:
Move disc 1 from A to B
Move disc 2 from A to C
Move disc 1 from B to C
Move disc 3 from A to B
Move disc 1 from C to A
Move disc 2 from C to B
Move disc 1 from A to B
Move disc 4 from A to C
Move disc 1 from B to C
Move disc 2 from B to A
Move disc 1 from C to A
Move disc 3 from B to C
Move disc 1 from A to B
Move disc 2 from A to C
Move disc 1 from B to C
Move disc 5 from A to B
Move disc 1 from C to A
Move disc 2 from C to B
Move disc 1 from A to B
Move disc 3 from C to A
Move disc 1 from B to C
Move disc 2 from B to A
Move disc 1 from C to A
Move disc 4 from C to B
Move disc 1 from A to B
Move disc 2 from A to C
Move disc 1 from B to C
Move disc 3 from A to B
Move disc 1 from C to A
Move disc 2 from C to B
Move disc 1 from A to B