Browse Source

add: questions for complex strings verifications

pull/788/head
lee 4 years ago
parent
commit
6a84199c17
  1. 12
      subjects/quadchecker/README.md
  2. 40
      subjects/quadchecker/audit/README.md

12
subjects/quadchecker/README.md

@ -57,3 +57,15 @@ $ ./quadE 1 2 | go run .
[quadC] [1] [2] || [quadE] [1] [2] [quadC] [1] [2] || [quadE] [1] [2]
$ $
``` ```
- If it's not a raid function:
```console
$ echo 0 0 | go run .
Not a Raid function
$ echo -n "o--o"$'\n'"|"$'\n'"o"
o--o
|
o$ echo -n "o--o"$'\n'"|"$'\n'"o" | go run .
Not a Raid function
```

40
subjects/quadchecker/audit/README.md

@ -71,3 +71,43 @@ Not a Raid function
``` ```
###### Does the program returns the value above? ###### Does the program returns the value above?
##### Try running the program: `"echo -n "o--" | ./quadchecker"`
```
Not a Raid function
```
###### Does the program returns the value above?
##### Try running the program: `"echo -n "/****" | ./quadchecker"`
```
Not a Raid function
```
###### Does the program returns the value above?
##### Try running the program: `"echo -n "ABBB" | ./quadchecker"`
```
Not a Raid function
```
###### Does the program returns the value above?
##### Try running the program: `"echo -n "ABBBA"$'\n'"B"$'\n'"B" | ./quadchecker"`
```
Not a Raid function
```
###### Does the program returns the value above?
##### Try running the program: `"echo -n "o--o"$'\n'"|"$'\n'"o" | ./quadchecker"`
```
Not a Raid function
```
###### Does the program returns the value above?

Loading…
Cancel
Save