mirror of https://github.com/01-edu/public.git
1) Grammatical improvement in wdmatch
2) added extra example to match the improve test in go-tests repo
This commit is contained in:
parent
12a837f49c
commit
09fc070d7b
|
@ -2,7 +2,7 @@
|
|||
|
||||
### Instructions
|
||||
|
||||
Write a program that takes two `string` and checks whether it is possible to write the first `string` with characters from the second `string`, while respecting the order in which these characters appear in the second `string`.
|
||||
Write a program that takes two `string` and checks whether it is possible to write the first `string` with characters from the second `string`. This rewrite must respectSS the order in which these characters appear in the second `string`.
|
||||
|
||||
If it is possible, the program displays the `string` followed by a newline (`'\n'`), otherwise it simply displays nothing.
|
||||
|
||||
|
@ -11,6 +11,8 @@ If the number of arguments is different from 2, the program displays nothing.
|
|||
### Usage
|
||||
|
||||
```console
|
||||
$ go run . 123 123
|
||||
123
|
||||
$ go run . faya fgvvfdxcacpolhyghbreda
|
||||
faya
|
||||
$ go run . faya fgvvfdxcacpolhyghbred
|
||||
|
|
Loading…
Reference in New Issue