Browse Source

Merge pull request #518 from azamatamirzhan/patch-5

Some examples doesn't work as it shown
content-update
OGordoo 4 years ago committed by GitHub
parent
commit
f0ac3945c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      subjects/push-swap/push-swap.en.md

6
subjects/push-swap/push-swap.en.md

@ -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
``` ```

Loading…
Cancel
Save