Problem: 1x20

Code: 1x20/tails_1666750065

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)


(implicit map with implicit range) 
    20 (integer) 
    `% (split list (keep empties)) <--arg( B A ) 
        \ (reverse) 
            `p (int to str) 
                % (modulus) 
                    * (multiply) 
                        / (divide) 
                            ^ (pow) 
                                ~ (auto) 
                                $ (= B) 
                            9 (integer) 
                        ^ (pow) 
                            ~ (auto) 
                            + (sum) 
                                `, (range from 0) 
                                    $ (= B) 
                    - (subtract) 
                        ^ (pow) 
                            ~ (auto) 
                            20 (integer) 
                        ~ (auto) 
        "0" (string) 

Back to the index