|
|
@ -127,13 +127,13 @@ pb |
|
|
|
KO |
|
|
|
KO |
|
|
|
student$ echo -e "rra\npb\nsa\n" | ./checker "3 2 one 0" |
|
|
|
student$ echo -e "rra\npb\nsa\n" | ./checker "3 2 one 0" |
|
|
|
Error |
|
|
|
Error |
|
|
|
student$ echo -e "rra\npb\nsa\nrra\npa\n" |
|
|
|
student$ echo -e "rra\npb\nsa\nrra\npa" |
|
|
|
rra |
|
|
|
rra |
|
|
|
pb |
|
|
|
pb |
|
|
|
sa |
|
|
|
sa |
|
|
|
rra |
|
|
|
rra |
|
|
|
pa |
|
|
|
pa |
|
|
|
student$ echo -e "rra\npb\nsa\nrra\npa\n" | ./checker "3 2 1 0" |
|
|
|
student$ echo -e "rra\npb\nsa\nrra\npa" | ./checker "3 2 1 0" |
|
|
|
OK |
|
|
|
OK |
|
|
|
student$ ./checker |
|
|
|
student$ ./checker |
|
|
|
student$ |
|
|
|
student$ |
|
|
@ -155,7 +155,7 @@ student$ |
|
|
|
|
|
|
|
|
|
|
|
```console |
|
|
|
```console |
|
|
|
student$ ARG="4 67 3 87 23"; ./push_swap "$ARG" | wc -l |
|
|
|
student$ ARG="4 67 3 87 23"; ./push_swap "$ARG" | wc -l |
|
|
|
6 |
|
|
|
6 |
|
|
|
student$ ARG="4 67 3 87 23"; ./push_swap "$ARG" | ./checker "$ARG" |
|
|
|
student$ ARG="4 67 3 87 23"; ./push_swap "$ARG" | ./checker "$ARG" |
|
|
|
OK |
|
|
|
OK |
|
|
|
``` |
|
|
|
``` |
|
|
|