Problem: Decimation
Code: Decimation/tails_1645408270
Nibbles version: 0.2 | 0.21 | 0.22 | 0.23 | 0.24 | 0.25 | 1.00
Format: Compact | Simple | +Type | Table | JSON | .nbl (DeBruijn) | .nbl (names)
Depth | Lit | Desc | Type | Arg | Let |
---|---|---|---|---|---|
0 |
| implicit string concatenation | [chr] | ||
* 1 |
| implicit string concatenation | [chr] | ||
** 2 | | | filter | [chr] | ||
*** 3 | `\ | special scans | [chr] | ||
**** 4 | ;_ | = allInput | [chr] | ||
**** 4 |
| foldop: undefined nibble 0xc (try Nibbles version >=0.22) | null | ||
*** 3 | + | sum | int | A:chr | |
**** 4 | . | map | [int] | ||
***** 5 | , | range from 1 | [int] | ||
****** 6 | + | sum | int | ||
******* 7 | + | add | [int] | ||
******** 8 | $ | = A | chr | ||
******** 8 | "\n" | string | [chr] | ||
***** 5 | 10 | integer | int | B:int | |
** 2 | < | take | [int] | ||
*** 3 | 10 | integer | int | ||
*** 3 | * | multiply | [int] | ||
**** 4 | $ | = fstInt | int | ||
**** 4 | @ | = fstLine | [chr] | ||
* 1 | * | multiply | [int] | ||
** 2 | $ | = fstInt | int | ||
** 2 | @ | = fstLine | [chr] |