diff --git a/exercises/solutions/1_control_flow/f1_pitstop_par_correct.dot b/exercises/solutions/1_control_flow/f1_pitstop_par_correct.dot index 552f5705cc7fff4e3f057fd2c0f20bce9b7aa18b..adff73cebc9a5cbde6965a45aba779cbfc84a7a0 100644 --- a/exercises/solutions/1_control_flow/f1_pitstop_par_correct.dot +++ b/exercises/solutions/1_control_flow/f1_pitstop_par_correct.dot @@ -4,49 +4,64 @@ digraph { name="F1 pitstop simulation" ]; 0 [ - id=1 + id=1770 + state=COMPLETED name=Breaks - label="Breaks, id: 1" + label="Breaks, id: 1770" ]; 1 [ - id=2 + id=1771 + state=COMPLETED name="Lift car" - label="Lift car, id: 2" + label="Lift car, id: 1771" ]; 2 [ - id=3 + id=1772 + state=COMPLETED name=Refuel - label="Refuel, id: 3" + label="Refuel, id: 1772" ]; 3 [ - id=4 + id=1773 + state=COMPLETED name="Exchange tire 1" - label="Exchange tire 1, id: 4" + label="Exchange tire 1, id: 1773" ]; 4 [ - id=5 + id=1774 + state=COMPLETED name="Exchange tire 2" - label="Exchange tire 2, id: 5" + label="Exchange tire 2, id: 1774" ]; 5 [ - id=6 + id=1775 + state=COMPLETED name="Exchange tire 3" - label="Exchange tire 3, id: 6" + label="Exchange tire 3, id: 1775" ]; 6 [ - id=7 + id=1776 + state=COMPLETED name="Exchange tire 4" - label="Exchange tire 4, id: 7" + label="Exchange tire 4, id: 1776" ]; 7 [ - id=8 - name="First gear" - label="First gear, id: 8" + id=1777 + state=COMPLETED + name="Lower car" + label="Lower car, id: 1777" ]; 8 [ - id=9 + id=1778 + state=COMPLETED + name="First gear" + label="First gear, id: 1778" + ]; + 9 [ + id=1779 + state=COMPLETED name=Go - label="Go, id: 9" + label="Go, id: 1779" ]; 0 -> 1 [ @@ -67,7 +82,7 @@ digraph { 1 -> 6 [ label=" " ]; - 2 -> 8 [ + 2 -> 9 [ label=" " ]; 3 -> 7 [ @@ -85,4 +100,7 @@ digraph { 7 -> 8 [ label=" " ]; + 8 -> 9 [ + label=" " + ]; } diff --git a/exercises/solutions/1_control_flow/f1_pitstop_par_correct.pdf b/exercises/solutions/1_control_flow/f1_pitstop_par_correct.pdf index 2da99516348946e77dfdb6c49de60b9bc8fe8e1a..18a3b8d3d86a59ed092420cd4770d713fcbf4e1b 100644 Binary files a/exercises/solutions/1_control_flow/f1_pitstop_par_correct.pdf and b/exercises/solutions/1_control_flow/f1_pitstop_par_correct.pdf differ diff --git a/exercises/solutions/3_files_and_commands/image_reconstruct.dot b/exercises/solutions/3_files_and_commands/image_reconstruct.dot new file mode 100644 index 0000000000000000000000000000000000000000..ae7b44bedf0695f69259c805590bb8dbcfb01519 --- /dev/null +++ b/exercises/solutions/3_files_and_commands/image_reconstruct.dot @@ -0,0 +1,61 @@ +/* Created by igraph 0.7.1 */ +digraph { + graph [ + name="Image reconstruction" + ]; + 0 [ + id=1785 + name="Transfer the input files" + label="Transfer the input files, id: 1785" + ]; + 1 [ + id=1786 + name="Rotate 90 degrees anti-clockwise" + label="Rotate 90 degrees anti-clockwise, id: 1786" + ]; + 2 [ + id=1787 + name="Flip vertically" + label="Flip vertically, id: 1787" + ]; + 3 [ + id=1788 + name="Flop horizontally" + label="Flop horizontally, id: 1788" + ]; + 4 [ + id=1789 + name="Flop horizontally" + label="Flop horizontally, id: 1789" + ]; + 5 [ + id=1790 + name="Put the four pieces together" + label="Put the four pieces together, id: 1790" + ]; + + 0 -> 1 [ + label=" " + ]; + 0 -> 2 [ + label=" " + ]; + 1 -> 3 [ + label="top left" + ]; + 1 -> 5 [ + label="top left" + ]; + 2 -> 4 [ + label="bottom right" + ]; + 2 -> 5 [ + label="bottom right" + ]; + 3 -> 5 [ + label="top right" + ]; + 4 -> 5 [ + label="bottom left" + ]; +} diff --git a/exercises/solutions/3_files_and_commands/image_reconstruct.pdf b/exercises/solutions/3_files_and_commands/image_reconstruct.pdf new file mode 100644 index 0000000000000000000000000000000000000000..d7896eb96a2c8d2da31df6d24732f8acdece72b6 Binary files /dev/null and b/exercises/solutions/3_files_and_commands/image_reconstruct.pdf differ diff --git a/exercises/solutions/3_files_and_commands/image_reconstruct_scripttask.dot b/exercises/solutions/3_files_and_commands/image_reconstruct_scripttask.dot new file mode 100644 index 0000000000000000000000000000000000000000..6238c96218f01c9a03967629376a550cedbe0279 --- /dev/null +++ b/exercises/solutions/3_files_and_commands/image_reconstruct_scripttask.dot @@ -0,0 +1,50 @@ +/* Created by igraph 0.7.1 */ +digraph { + graph [ + name="Image reconstruction" + ]; + 0 [ + id=1780 + name="Rotate 90 degrees anti-clockwise" + label="Rotate 90 degrees anti-clockwise, id: 1780" + ]; + 1 [ + id=1781 + name="Flip vertically" + label="Flip vertically, id: 1781" + ]; + 2 [ + id=1782 + name="Flop horizontally" + label="Flop horizontally, id: 1782" + ]; + 3 [ + id=1783 + name="Flop horizontally" + label="Flop horizontally, id: 1783" + ]; + 4 [ + id=1784 + name="Put the four pieces together" + label="Put the four pieces together, id: 1784" + ]; + + 0 -> 2 [ + label=" " + ]; + 0 -> 4 [ + label=" " + ]; + 1 -> 3 [ + label=" " + ]; + 1 -> 4 [ + label=" " + ]; + 2 -> 4 [ + label=" " + ]; + 3 -> 4 [ + label=" " + ]; +} diff --git a/exercises/solutions/3_files_and_commands/image_reconstruct_scripttask.pdf b/exercises/solutions/3_files_and_commands/image_reconstruct_scripttask.pdf new file mode 100644 index 0000000000000000000000000000000000000000..51790971b9eb2ccc156cacbf9bc91978f3ab6df9 Binary files /dev/null and b/exercises/solutions/3_files_and_commands/image_reconstruct_scripttask.pdf differ