mirror of https://github.com/01-edu/public.git
test and resources for quest-02
This commit is contained in:
parent
be10aa0992
commit
d2d521d62b
|
@ -37,3 +37,7 @@ F
|
||||||
T
|
T
|
||||||
$
|
$
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Notions
|
||||||
|
|
||||||
|
- [01-edu/z01](https://github.com/01-edu/z01)
|
||||||
|
|
|
@ -13,3 +13,7 @@ $ go run .
|
||||||
abcdefghijklmnopqrstuvwxyz
|
abcdefghijklmnopqrstuvwxyz
|
||||||
$
|
$
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Notions
|
||||||
|
|
||||||
|
- [01-edu/z01](https://github.com/01-edu/z01)
|
||||||
|
|
|
@ -36,6 +36,10 @@ $ go run . | cat -e
|
||||||
$
|
$
|
||||||
```
|
```
|
||||||
|
|
||||||
`000` or `999` are not valid combinations because the digits are not different.
|
- `000` or `999` are not valid combinations because the digits are not different.
|
||||||
|
|
||||||
`987` should not be shown because the first digit is not less than the second.
|
- `987` should not be shown because the first digit is not less than the second.
|
||||||
|
|
||||||
|
### Notions
|
||||||
|
|
||||||
|
- [01-edu/z01](https://github.com/01-edu/z01)
|
||||||
|
|
|
@ -35,3 +35,7 @@ $ go run . | cat -e
|
||||||
00 01, 00 02, 00 03, ..., 00 98, 00 99, 01 02, 01 03, ..., 97 98, 97 99, 98 99$
|
00 01, 00 02, 00 03, ..., 00 98, 00 99, 01 02, 01 03, ..., 97 98, 97 99, 98 99$
|
||||||
$
|
$
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Notions
|
||||||
|
|
||||||
|
- [01-edu/z01](https://github.com/01-edu/z01)
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
below are your references for the **printing format** expected.
|
below are your references for the **printing format** expected.
|
||||||
|
|
||||||
- (for n = 1) '0, 1, 2, 3, ...8, 9'
|
- (for n = 1) '0, 1, 2, 3, ..., 8, 9'
|
||||||
|
|
||||||
- (for n = 3) '012, 013, 014, 015, 016, 017, 018, 019, 023,...689, 789'
|
- (for n = 3) '012, 013, 014, 015, 016, 017, 018, 019, 023,...689, 789'
|
||||||
|
|
||||||
|
@ -45,3 +45,9 @@ $ go run .
|
||||||
012345678, 012345679, ..., 123456789
|
012345678, 012345679, ..., 123456789
|
||||||
$
|
$
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> Be mindful of your program efficiency to avoid timeouts.
|
||||||
|
|
||||||
|
### Notions
|
||||||
|
|
||||||
|
- [01-edu/z01](https://github.com/01-edu/z01)
|
||||||
|
|
|
@ -13,3 +13,7 @@ $ go run .
|
||||||
0123456789
|
0123456789
|
||||||
$
|
$
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Notions
|
||||||
|
|
||||||
|
- [01-edu/z01](https://github.com/01-edu/z01)
|
||||||
|
|
|
@ -40,3 +40,8 @@ $ go run .
|
||||||
-1230123
|
-1230123
|
||||||
$
|
$
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Notions
|
||||||
|
|
||||||
|
- [01-edu/z01](https://github.com/01-edu/z01)
|
||||||
|
- [numeric types](https://golang.org/ref/spec#Numeric_types)
|
||||||
|
|
|
@ -15,3 +15,7 @@ $ go run .
|
||||||
zyxwvutsrqponmlkjihgfedcba
|
zyxwvutsrqponmlkjihgfedcba
|
||||||
$
|
$
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Notions
|
||||||
|
|
||||||
|
- [01-edu/z01](https://github.com/01-edu/z01)
|
||||||
|
|
Loading…
Reference in New Issue