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):[[[chr]]] 
    20 (integer):int 
    `% (split list (keep empties)):[[chr]] <--arg( B:int A:int ) 
        \ (reverse):[chr] 
            `p (int to str):[chr] 
                % (modulus):int 
                    * (multiply):int 
                        / (divide):int 
                            ^ (pow):int 
                                ~ (auto = 10):auto 
                                $ (= B):int 
                            9 (integer):int 
                        ^ (pow):int 
                            ~ (auto = 10):auto 
                            + (sum):int 
                                `, (range from 0):[int] 
                                    $ (= B):int 
                    - (subtract):int 
                        ^ (pow):int 
                            ~ (auto = 10):auto 
                            20 (integer):int 
                        ~ (auto = 1):auto 
        "0" (string):[chr] 

Back to the index