vault backup: 2023-10-02 13:18:41

This commit is contained in:
2023-10-02 13:18:41 +02:00
parent ab9994b23d
commit 156b19d733
2 changed files with 9 additions and 9 deletions

View File

@ -547,7 +547,7 @@ let hanoi n =
  if n < 0 then
    invalid_arg "Hanoi: number of disks invalid"
  else
    play n 1 2 3 (* Appel initial avec les piquets source, auxiliaire et destination *)
    play n 1 2 3
;;
hanoi 3;; (* Pour déplacer 3 disques de la tige 1 à la tige 3 *)
hanoi 3;;
```