Share Your Experience: Take the 2024 Developer Survey

# Tag Info

### Hyperprogramming: N+N, N×N, N^N all in one

Jelly, 12 bytes N+N “(ẹ+)‘FQṖṪỌv Try it online! N×N ““((ẹẹ++))‘‘FFQQṖṖṪṪỌỌvv Try it online! N^N ...
• 210k

### How high can you count?

JavaScript (ES7), score 17, 176 bytes They said it couldn't be done, so I did it :D (thanks to a lot of help from @FullDecent) ...
Accepted

### Print 0 to 100 without 1-9 characters

R, 9 bytes F:volcano Try it online! The sequence operator : coerces its arguments to integers. ...
• 15.6k

### Golf a transcendental number

Python, 3 bytes min Try it online! Takes a number string, outputs its smallest digit as a smallest character. For example, ...
• 145k
Accepted

### The Versatile Integer Printer

30 languages, 248 bytes, $\frac {248} {30^3} = 0.009185$ ...
• 61.8k

### How high can you count?

Jelly, 47 integers, 519 bytes ...
• 210k

### Hyperprogramming: N+N, N×N, N^N all in one

><>, 41 bytes \< 1:: : &&* + i*n n c& %: 4l 0( .i n} &? Try it online: N+N, N*N, N^N. Assumes that the STDIN input is exactly one char. >&...
• 61.8k

### Shift right by half a bit

Regex (ECMAScript+(?*)), 1169 929 887 853 849 708 bytes -141 bytes by using the second form of shortened division, where $A^2 > C$ Regex was never designed to ...
• 11.6k

### Print numbers from 1 to 10

C, 36 bytes main(i){while(printf("%d ",i++)<3);} This works because the loop terminates after the first 2 digit number.
• 5,529

### The first n numbers without consecutive equal binary digits

Python 2, 36 bytes lambda n:[2**i*2/3for i in range(n)] Try it online! Explanation: The binary representation of $\frac{2}3$ is ...
• 171k

Jelly, 10 bytes 9s3’Ẓæ*³FṀ Try it online! 1-indexed. Computes the largest element of: \begin{bmatrix}0&0&1 \\ 1&0&1 \\ 0&1&0\end{...
• 68.7k

### It was just a bug

Python 2, 59 57 56 55 bytes i=8;exec"print(' '*abs(i)).join('1234567890');i-=1;"*17 Try it online! @Leaky Nun helped golfing this a lot, @Praind ...
• 42.4k

### How high can you count?

brainfuck, score 2, 255 144 10 bytes ...Yeah, not the best idea since I only have 8 characters (tarpits gonna tarpit) to work with but let's see how much is possible. I think this is all that's ...
• 17.2k

### Increment The Time

Microsoft Excel, 9 bytes =A1+"0:1" Input is in cell A1. Tested on my Mac (Excel for Mac version 16.53) and online at ...
• 34.9k

### Print numbers from 1 to 10

HTML, 44 bytes <ol><li><li><li><li><li><li><li><li><li><li> This is longer than ...
• 10.3k

### Reciprocal of a number (1/x)

Brain-Flak, 772 536 530 482 480 + 1 = 481 bytes Since Brain-Flak does not support floating point numbers I had to use the -c flag in order input and output with ...
• 98.8k

### Count all possible Tweets

Emotion, 17 bytes 😍😃💁🧟🤯😃😧😍😄🤶🙆🙆😬🏃🧛😧🤠 Explanation ...
• 1,051

### Is this number a prime?

Hexagony, 28 bytes Since Etoplay absolutely trounced me on this question, I felt that I had to outgolf his only other answer. ...
• 11.6k

### Print all integers

Haskell, 19 bytes do n<-[1..];[1-n,n] Produces the infinite list [0,1,-1,2,-2,3,-3,4,-4,5,-5,6,-6,7,-7... Haskell allows ...
• 145k

### Output the sign

Retina, 9 bytes [1-9].* 1 Try it online! Replaces a non-zero digit and everything after it with 1. This leaves a potential ...
• 197k

### Sum of all integers from 1 to n

Pyth, 2 bytes sS Try it online! Implicit input. S is 1-indexed range, and s is the sum.
• 1,522

### As Easy as One-Two-Three

Python, 24 bytes range(123,790,111).count An anonymous function that outputs 0 or 1. It creates the list ...
• 145k

### Show me the nearest demon

Python 2, 28 bytes lambda n:'6'*len(-~n*3/11)
• 39.1k

### Compute the Carmichael function

Mathematica, 16 bytes CarmichaelLambda Well...
• 197k

### Print numbers from 1 to 10

Bash, 12 characters echo {1..10} Sample run: bash-4.3\$ echo {1..10} 1 2 3 4 5 6 7 8 9 10 Bash + coreutils, 10 characters (...
• 20.2k

### Reciprocal of a number (1/x)

Python 2, 10 bytes 1..__div__ Try it online!
• 210k

### Scroll Word's font size selector

Word VBA, 199 147 126 116 102 100 87 85 Bytes Why emulate when you can do?! Declared function in the ThisDocument module that takes input ...
• 8,426

### If A-B be in A-B A else B eh?

Python, 27 bytes lambda a,b:[a,b][2*b*b>a*b] Try it online! An arithmetic formula. Why is the negation of 2*b*b>a*b ...
• 145k