About 17 results
Open links in new tab
  1. 'code-golf' tag wiki - Code Golf Stack Exchange

    You should show how the program or function is executed, accepting the input, and printing the output. Writing a challenge So, you want to write your own challenge? If you're new, consider …

  2. Hottest 'combinatorics' Answers - Code Golf Stack Exchange

    34 Languages, 19 bytes, Score: 38,832,018,459,912,437,760,000 Here is a quick answer I threw together to show that it is possible to get an answer scoring better than 1. ...

  3. Hottest 'cops-and-robbers' Answers - Code Golf Stack Exchange

    The Programming Language Quiz, Mark II - Cops Curry PAKCS, 57 bytes, cracked by Potato44 f []="" f ( [x]++s)=show x++" "++f s main=putStr (f [1..100]) Looks like Haskell but it doesn't run …

  4. Hottest 'obfuscation' Answers - Code Golf Stack Exchange

    The Programming Language Quiz, Mark II - Cops Curry PAKCS, 57 bytes, cracked by Potato44 f []="" f ( [x]++s)=show x++" "++f s main=putStr (f [1..100]) Looks like Haskell but it doesn't run …

  5. Hottest 'repeated-transformation' Answers - Code Golf Stack …

    How does math work in Anastasiya's world? Haskell, 108 bytes f=map (read.pure).show g h= (\x-> (h.f$last x,length x+1)).takeWhile (>10).iterate (h.f) (a#b)o=g (foldr1 o)$o a b Defines the …

  6. Newest 'random' Questions - Code Golf Stack Exchange

    Be big more often Related You are a manager at a large number factory. You want to show everyone your business is doing well, by showing randomly chosen samples. Unfortunately, …

  7. Hottest 'edit-distance' Answers - Code Golf Stack Exchange

    Levenshtein distance & OEIS (Cops) Haskell, LD = 13, cracked ( (snd.span (<'1').reverse.show. (^2)=<< [1..])!!) Try it online! I double-checked that leading zeros are trimmed ;) ... Laikoni …

  8. Newest 'ascii-art' Questions - Code Golf Stack Exchange

    Show a balanced binary tree Given an integer \$n > 1\$, output a balanced binary tree with \$n\$ leaf nodes. The tree should be constructed out of (space), ... 97.100.97.109 asked Oct 22, …

  9. Hottest 'pristine-programming' Answers - Code Golf Stack Exchange

    Quining a Pristine World Haskell, 132 bytes q x=if length x==132then putStr x else fail [];main=q$ (++)<*>show$"q x=if length x==132then putStr x else fail [];main=q$ (++)<*>show$" ...

  10. Newest 'open-ended-function' Questions - Code Golf Stack …

    May 8, 2024 · Show a balanced binary tree Given an integer \$n > 1\$, output a balanced binary tree with \$n\$ leaf nodes. The tree should be constructed out of (space), ... code-golf ascii-art …