Linked Questions

12
votes
3answers
424 views

Session-Saving Quine

Inspired by this question. Create a program that prompts the user to store some data, and when the program is quitting, spit out the program itself, except the session data changed. The user then ...
10
votes
3answers
496 views

Period 2 Reversed Quine

Your task is to write a program that outputs its own source code in reverse. However, when the reversed code is run, it should output the source code, facing the correct direction. Example Say your ...
5
votes
3answers
285 views

Intron Adder Quine

In the context of quines, an intron (or payload) is a part of a quine that serves no purpose in producing output, but is still included in the data section. For example: ...
26
votes
2answers
2k views

Fastest Mini-Flak Quine

Mini-Flak is a subset of the Brain-Flak language, where the <>, <...> and [] ...
25
votes
2answers
681 views

On this site we obey the laws of thermodynamics!

And in particular the second law: the entropy of an isolated system undergoing an irreversible process increases with time. For this challenge, An "isolated system" will be taken to be a ...
24
votes
2answers
719 views

Rotation-safe quine

Write a proper quine whose every rotation is itself a proper quine. For example, if your source code is abcdef, then: abcdef ...
9
votes
2answers
407 views

Error (or warning) quine that's also a regular quine [closed]

(Inspired by this comment on an old question.) Background An error quine (also known as a "Kimian quine") is a program which, when compiled or run, causes the compiler/interpreter/runtime to print ...
-3
votes
2answers
302 views

Invert your code

Challenge Return the full contents of your program, but inverted. How do your invert something? Well, Letters: Take the position of the letter in the alphabet, subtract from 26, and use the letter ...
11
votes
1answer
666 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 ...
2
votes
0answers
933 views

Make a program that outputs its own MD5 hash [duplicate]

Challenge: make a program that outputs a MD5 hash of its source code. You should not use tricks that would be considered cheating in a quine sense (discussed here). Using built-in functions and ...
2
votes
0answers
239 views

Proving the shortest quine in a particular language [duplicate]

Possible Duplicate: Golf you a quine for great good! People have proposed short quines in various languages. Puzzle: Find the shortest non-trivial quine in a language of your choice, and prove ...
1
vote
0answers
112 views

Write a piece of code that prints out itself [duplicate]

I'm new to this site, so I don't know whether this challenge already appeared: Write a piece of source code, so that after running the code, it prints out exactly (i.e. not longer, not shorter) the ...
1
vote
0answers
111 views

Help us escape the quine factory! Put messages into quines [duplicate]

I've been enslaved in a quine factory. The other workers and I can't communicate with the outside world, we can only slave away making quines all day. The masters will reject any work that isn't a ...
1
vote
0answers
265 views

Write the shortest one-statement python quine [duplicate]

I wrote this one-line one-statement Python quine a little while back. print (lambda x: x + str((x,)))('print (lambda x: x + str((x,)))',) The point is, it's all ...
0
votes
0answers
193 views

What is the shortest brainfuck quine? [duplicate]

(Apart from the empty program of course) The shortest I could find was this 410 byte beauty: ...

15 30 50 per page
1
2 3 4 5
7