Linked Questions

12 votes
8 answers
1k views

Quine Challenge I

Challenge In this task you have to write a program that will take input an integer N (-1e9 <= N < 0 && 0 < N <= +1e9), then compute T = (abs(N) % M+1),if N is positive ...
Quixotic's user avatar
  • 2,359
27 votes
7 answers
2k views

Mutual Negative Quines

This was inspired by Print a Negative of your Code and Golf a mutual quine. Consider a rectangle of characters, that meet the following restrictions: Consists solely of printable ASCII characters ...
es1024's user avatar
  • 9,165
35 votes
6 answers
1k views

Mutually Exclusive Quines

Your challenge is simple. Write two programs that share no characters which output each other. Example Two programs P and Q are mutually exclusive quines if: P outputs Q Q outputs P There is no ...
Conor O'Brien's user avatar
28 votes
6 answers
2k views

Can you Meta Quine?

Similar to other quine puzzles (more specifically, this one), write a program that produces the source for itself. Here's the new twist: The code produced should NOT be identical to the source. ...
Gaffi's user avatar
  • 3,597
24 votes
4 answers
3k views

Implement ROT-47... in ROT-47

Challenge: Implement ROT-47 in code that works as both itself and as the ROT-47 version of itself. Scoring: Your score is calculated as a percentage of used, ROT-47 eligible bytes in total of both ...
durron597's user avatar
  • 4,800
11 votes
4 answers
535 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 ...
internet_user's user avatar
17 votes
3 answers
1k views

Write a third order quine

This challenge is an extension of 'Golf a mutual quine'. Using three languages of your choice, create a third order Ouroboros program. That is, in language A, write a program pA which outputs ...
Peter Olson's user avatar
  • 7,712
15 votes
3 answers
1k views

Codegolf: Quine and Antiquine

This challenge is similar to Can you Meta Quine? A quine is a program that produces itself on STDOUT. This challenge is to produce a program A which when run produces a program B on STDOUT. Program B ...
abligh's user avatar
  • 817
18 votes
2 answers
807 views

Quine that takes as input the name of a language and outputs the same thing implemented in the input language

From Quine central: Write a quine that takes as input the name of a language and outputs the same thing implemented in the input language. The source article has something you can work from, but as ...
moinudin's user avatar
  • 12.5k
13 votes
2 answers
441 views

Cyclic strings, hidden programs

Write 3 programs that do the following task: Let A, B, C source codes of those three programs; if A runs BC is produced as output, if B runs CA is produced, if C runs AB is produced; so each program ...
Blex's user avatar
  • 289
7 votes
2 answers
605 views

Golfing Relay Race

You need to write a program in any language that will produce (source code for) a program in a different language. That program will produce a 3rd program in another language and so on. You should ...
George Duckett's user avatar
4 votes
2 answers
206 views

Inter-language 2-cycle quine [duplicate]

Challenge Create 2 programs A and B The output of program A is exactly program B The output of program B is exactly program A Neither program should depend on inputs to yield the correct output A ...
Hymns For Disco's user avatar
2 votes
2 answers
335 views

Generate code in another language [duplicate]

Write a program in language A which outputs a program in language B where: Language A != Language B The output is itself a solution to this question. This is a popularity contest. If you want to ...
Millie Smith's user avatar
8 votes
1 answer
510 views

Cyclic Weak Levenquine

This question asking us to make a "Cyclic Levenquine" has gone unanswered. So today we will ask a slightly simpler version. In this challenge we will define a K-Levenquine to be a program whose ...
Wheat Wizard's user avatar
  • 96.5k
0 votes
0 answers
175 views

Create a chain of programs in different languages [duplicate]

Create a program in any language, which outputs the source code for a program in another language, which outputs the source code for a program in another language, and so on. Please post at the top ...
Ypnypn's user avatar
  • 10.8k

15 30 50 per page