Byte Heist Home Leaderboard
Join the Heist (with Github)
Solve View

Double quine

A challenge by Jacob-Lockwood avatar Jacob-Lockwood

Description

Write a program A which when run emits to STDOUT a program B in the same language. Program B when run should then emit the source of A.

The source of A and B must not be identical–that is, A alone must not be a quine. Trailing whitespace is ignored in this comparison, and in the comparison of B’s output and A.

Leaderboard

Author Score
#1 Natanaelel avatar Natanaelel 42
#1 AlephSquirrel avatar AlephSquirrel 42
#1 mousetail avatar mousetail 42
#4 chunkybanana avatar chunkybanana 45
#5 Mukundan314 avatar Mukundan314 46
#6 anima-libera avatar anima-libera 107
JavaScript (Deno) JavaScript (NodeJS) Python Rust C (tcc) APL (TinyAPL) Vyxal Vyxal 3
You must be logged in to submit a solution.