>> hannoi(4)
将 1 号碟子从A ---> B
将 2 号碟子从A ---> C
将 1 号碟子从B ---> C
将 3 号碟子从A ---> B
将 1 号碟子从C ---> A
将 2 号碟子从C ---> B
将 1 号碟子从A ---> B
将 4 号碟子从A ---> C
将 1 号碟子从B ---> C
将 2 号碟子从B ---> A
将 1 号碟子从C ---> A
将 3 号碟子从B ---> C
将 1 号碟子从A ---> B
将 2 号碟子从A ---> C
将 1 号碟子从B ---> C
Cita come
uu tsi (2024). hannoi (https://www.mathworks.com/matlabcentral/fileexchange/59615-hannoi), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2016b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |