New answers tagged

1

05AB1E, 10 ... 161 distinct bytes \]abcdefghiijklmnopqrstuvwxyz{|}}}~Ƶ€€‚„…†‡ˆ‰ŠĆĆŽƶĀ‘‘’’““””–—™š›œćŸā¡¢¢¤¤§¨©ª«¬®°±´¶·¸º»¼½¾¿ÀÁÂÃÄÅÇÌÍÐÐÐÐÐÑÒÓÔÕÖ×ØÙÚÛÜÝßàåèéêëìíîïðñòóôõö÷úü -.0123456789;<>@ABCDDDHKKOPQRSTUVWXYZ Try it online! or validate all test cases (note: this version omits ] and ë, since those don't play well with the header/footer). Uses ...


0

GolfScript / MathGolf, 15 bytes Here is a golfing language one in pure ASCII. (I guess the best score possible is 15 bytes...) "abc"#; " a b c Try it online! GolfScript explanation "abc" # Start a string # # Create a comment (rest is a comment) ; " a b c MathGolf explanation "abc" Start a string #; ...


1

Backhand and ><>, 39 bytes Full 8.cv*c0*~]!]/]:::[@:1[+ooo2o+@o.3.+.o.; Prints abc in Backhand Errors in ><> Skipped 8c*0~!/::@1+o2+o3+o; Prints abc in ><> Errors in Backhand Explanation Backhand doesn't execute the instructions one by one. In the full version, it goes 3, then the v instruction turns it to two steps. In the skipped version,...


0

naz, 48 bytes 2a2a1o2a2a1o2m2m1o3m2a1o9a9a5a1o5s1o9s6s1o9a5a1o Explanation 2a2a1o # Output 4 2a2a1o # Output 8 2m2m1o # Output a space 3m2a1o # Output "b" 9a9a5a1o # Output "y" 5s1o # Output "t" 9s6s1o # Output "e" 9a5a1o # Output "s"


1

Whitespace, score: 0 [S S T T N _Push_-1_g][S S S T T S N Push_6_n][S S S T N Push_1_i][S S S T S S N _Push_4_l][S S S T T T T N _Push_15_w][S S S T T T N Push_7_o][S S T T S S T T S N _Push_-38_B][S S T T S S T S S S N _Push_-71_space][S S T T T N _Push_-3_e][S S T T S S N _Push_-4_d][S S S T T T N Push_7_o][S S ...


0

Keg, -v 0 bytes Prints: Keg Last Updated On: Wednesday 15 January 2020 Well, at least using commit 8b6ad216c1fc60e59bd143ba2ee0571df29db2f6 it does. The date part changes between commits. Why? Because -v prints out the current interpreter version. A 3 byte answer: ǨƐƓ Try it online! Prints: keg A 6 byte answer: L;f;h; Try it online! Prints: Keg ...


0

Bash, 4 alphanumerics wget $@ . ${@##*/} No TIO link because TIO doesn't have hostname resolution.


2

GolfScript, 18 bytes I didn't expect such a small amount of whitespace ... 101,{.3(%\"E"if} % Try it online! Explanation 101, # Generate range [0 1 2 ... 99 100] { } % # Map every item using this scheme . # Copy the item 3(% # Modulo by 3-1 (2) \ # If modulo-ing by 2 is truthy: ...


2

PowerShell, 72 bytes for`t(`t`$i =0;`$i -le 101 - 1 ;`$i =`$i + 1 ) {`$ab=(' e ',`t`$i ) ;`$ab[`$i %2] } For testing: $a = "for`t(`t`$i =0;`$i -le 101 - 1 ;`$i =`$i + 1 ) {`$ab=(' e ',`t`$i ) ;`$ab[`$i %2] }" # Even/odd ok? 0..($a.Length-1) | % { [char]$a[$_] + " " + ([byte][char]$a[$_] % 2)} $a.Length Invoke-Expression $a Missed the even-odd part in ...


1

W, 3 bytes I'll see which is compressable, I am not permitted to use the compressor yet. Convery 87 to a character. 87C W, 3 bytes Output every character between 'a' and 0x00. It maps over the (implicit input) 0 converted to a character to the letter 'a'. CaM


0

W n d, 7 bytes ∂kb-Ț⅀ℝ Explanation Uncompressed: 2018 M % Foreach in the range 1..2018: a1- % Return the current item - 1 Flags:n % Join the output with newlines ```


0

Wenyan, 39 33 bytes (WIP language) 加陰以『』夫其之二書之 Update: Wenyan now supports 『』 in place of 「「」」 for quoting strings. (starting from v0.1.2) Literally console.log((false+"")[2-1]) but not using any of +, a and 1 Explanation          書之 // console.log( )      夫其之    // ( )[ -1]  陰          // ...


1

Pip, 4 bytes /O@z Try it online! Explanation z Lowercase alphabet @ First character O Output without newline / Invert That last (first?) instruction requires some more explanation: By default, Pip prints the last expression in the program with a trailing newline. (This is why we couldn't do @z for 2 bytes, since the challenge states ...


1

Wren, 41 bytes System.write(String.fromCodePoint(88-23)) Try it online!


0

BBC Basic IV, 19 15 bytes 23PRINTCHR$(88-23) Older Answer: 19 bytes 23PRINTCHR$(8^2-(2-3)) The statement... P.TOP-PAGE ...shows the size of the program, which is 19 bytes.


0

05AB1E, 6 4 bytes 2<.b Try it online! Explanation 2< # push 2 and decrement (now 1 is on the stack) .b # push the [top value]th letter of the alphabet (the 1st letter) # implicit output


1

Spice, 145 97 bytes Improvement using multiplication to get the 9 from 2*2*2+1, as we already had those values. ;t;z;o;n;i@LEN i z;ADD i i i;LEN i o;PUT i i i;LEN i t;MUL t t i;MUL t i i;ADD o i n;OUT t z o n; Un-golfed explanation ;t;z;o;n;i@ - Declare vars LEN i z; - Get the length of [], 0, and store in z ADD i i i; - Adding implicitly uses the ...


0

MathGolf, 2 bytes ID Try it online! Explanation I # push 20 D # push 14 # implicit output


1

W j, 4 bytes ë‘"C Explanation ë‘" % Push a list C % Convert to list of ord codes [20,14] flag:j % Join without a separator ```


1

W d, 2 bytes ∑Ƿ Explanation Pretty much boils down to this after decompression: 'A


2

Python 3, 18 bytes print(str(int)[3]) Prints a lowercase a. Explanation Typing int into the interpreter gives <class 'int'>. The 4th character is an a, therefore we can convert it into a string and print the character at index 3.


1

W, 7 bytes •¦□⑫§∀K Explanation Unpacked: 7 bytes"


0

ABC, 11 bytes aacncacaaac Explanation a increments the accumulator, c outputs it and n sets it to 0.


0

Mumps (M), 12 bytes - 10 = 2 bytes Quite simple in Mumps (M), as the language allows single character commands and a newline is denoted by '!'... R I F W I,! Breakdown: Read STDIN into I, For (with two spaces) = infinite loop, Write contents of I, then newline (!) Works on both InterSystems & YottaDB (GT.M).


0

Python 3, 26-10=16 bytes x=input() while 1:print(x) Seems too easy. Never posted here before so probably done something dumb. What did I miss? UPDATE I don't think this is cheating (35-10=25): exec("x=input()\nwhile 1:print(x)")


2

Python 3, 65 bytes exit ([ ["E" , j] [j%2]for j in eval ('ran' +"g"+"e")(101 ) ] ) Try it online! This submission was built on using tabs and spaces, as well as a Very Clever™ abuse of eval. Edit: Fixed program to adhere to restricted-source (I had an extra space by mistake).


0

W s, 9-10 = -1 bytes ib12 1C|E Explanation Flag: s % We have to read from STDIN :( i E % Foreach from 1 to infinity: b % Take the value of the second operand % (the first operand is the infinity-count value) % AND print this value with a newline 12 1| % Just uses a space to do the constant-avoiding job. W, 7 bytes i12 1CE ...


Top 50 recent answers are included