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
student$ echo -e "rra\npb\nsa\n" | ./checker "3 2 one 0"
Error
student$ echo -e "rra\npb\nsa\nrra\npa\n"
student$ echo -e "rra\npb\nsa\nrra\npa"
rra
pb
sa
rra
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
student$ ./checker
student$
@ -155,7 +155,7 @@ student$
```console
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"
OK
```

Loading…
Cancel
Save