Qingyu's Online Judge

QOJ

Time Limit:1 s Memory Limit:256 MB

#73. Quine

Statistics

https://en.wikipedia.org/wiki/Quine_(computing)

A quine is a computer program which takes no input and produces a copy of its own source code as its only output. The standard terms for these programs in the computability theory and computer science literature are "self-replicating programs", "self-reproducing programs", and "self-copying programs".

A quine is a fixed point of an execution environment, when the execution environment is viewed as a function transforming programs into their outputs. Quines are possible in any Turing-complete programming language, as a direct consequence of Kleene's recursion theorem. For amusement, programmers sometimes attempt to develop the shortest possible quine in any given programming language.

Your task is to write a program like this and it contains at least 10 visible characters.

https://zh.wikipedia.org/zh-cn/%E8%87%AA%E7%94%A2%E7%94%9F%E7%A8%8B%E5%BC%8F

自产生程序(英语:Quine),它以美国哲学家奎恩(Willard Van Orman Quine)命名,指的是输出结果为程序自身源码的程序。

能够直接读取自己源码、读入用户输入或空白的程序一般都不视为自产生程序。

你需要编写一个这样的程序,而且至少包含 $10$ 个可见字符。