Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 66799

Code-golf is a competition to solve a particular problem in the fewest bytes of source code.

2 votes

Slow growing Quine

Befunge-98, 30 bytes 0>:#;0g:840#;+*#1-#,_$a3*%0g,@ Try it online! My try using Befunge-98 which uses a space terminated quine which also counts how many characters have been outputed. Does howeve …
IQuick 143's user avatar
  • 1,539
0 votes

Self-growing code codee codeee codeeee

Befunge-98 (PyFunge), 22 19 bytes r:#,_ #;'D2/'<,,@;" Try it online! Adds a < before the last " every generation.
IQuick 143's user avatar
  • 1,539
0 votes

In how many bits do I fit

Befunge-98 (PyFunge), 19 16 bytes, Thanks to @JoKing &#\<_$.@j3:/2\+1 Try it online! 19 bytes: &0#;1+\2/:!3j@.$_\; Try it online! 5 bytes shorter than Befunge-93 :)
IQuick 143's user avatar
  • 1,539
2 votes

Does this Foo machine halt?

JavaScript (Node.js), 71 67 bytes x=>{for(p=l=x.length,i=2**l;i--;)p+=l-(x[p%l]*=-1)%l;return!x[p%l]} Basically the same as @EmbodimentOfIgnorance's C# .NET answer 4 byte save thanks to @Arnaud …
IQuick 143's user avatar
  • 1,539
18 votes

Generate an RGB colour grid

HTML + CSS, 121 120 bytes Worst piece of HTML I've ever wrote. One byte save thanks to @Gust van de Wal b{color:#ff0}a{color:cyan}i{color:lime}u{color:blue <pre><body bgcolor=#f0f text=red>█<b> …
IQuick 143's user avatar
  • 1,539
31 votes
7 answers
1k views

Slow growing Quine

Make a Quine. Seems easy right? Well this quine must output itself plus its first character, which then outputs itself plus its second character, and so on. This way the quine should in several gene …
IQuick 143's user avatar
  • 1,539
10 votes

Period 2 Reversed Quine

Befunge-98, 33 bytes b3*>1#;-:0g,:#;_@_;#:,g0:-;#1>*b3 Try it online!
IQuick 143's user avatar
  • 1,539
11 votes
1 answer
700 views

Auto cycler quine

Make a quine but with a twist. Statement The quine prints its code but puts its first character at the end. (You can do it in reverse but include that note in your answer) The output must then be a …
IQuick 143's user avatar
  • 1,539
21 votes
Accepted

Auto cycler quine

Befunge-98 (PyFunge), 2600 bytes ab*1'3:*2+*0pnd3*:::::::::::::::1'3:*3+*0p1'3:*5+*0p1'3:*d+*0p1'3:*f+*0p1'3:*fa++*0p1'3:*fd++*0p1'4'3*f-*0p1'4'3*7-*0p1'4'3*5-*0p6:*:*4-1p6:*:*4+1p6:*:*8+1p6:*:*a+1p6 …
IQuick 143's user avatar
  • 1,539
7 votes

Generate an RGB colour grid

Blockly turtle, 45 blocks Try it online! How about we play a little game of finding the most ridiculous tool for the job? Output: The program (as a screenshot for additional heresy): Note: The graye …
IQuick 143's user avatar
  • 1,539
16 votes

Generate an RGB colour grid

Factorio Blueprint String, 705 bytes I admit, I'm just pushing the limits of what counts as a solution. 0eNrdWNGOqyAQ/ReedeNo0daH/ZHNTYOW7ZJFNAi91zT99wua7ZpdaaT1pb40oQ6HOecwA3pGBde0kUwolJ8RK2vRovztjFp …
IQuick 143's user avatar
  • 1,539
3 votes

Print all Sundays in 2017

Befunge-98 (PyFunge), 99 95 93 85 bytes, Leaves trailing newline All the optimizations were made by @JoKing many thanks to them s :1g2/10g\%:d1p10g\`+:b`#@_:1\0d1g#;1+:a/'0+,a%'0+,'.,j;a"7102"4k,d1g7+ …
IQuick 143's user avatar
  • 1,539