Submit solution

Points: 10
Time limit: 2.0s
Memory limit: 64M

Problem type
Allowed languages
Ada, Assembly, Awk, Brain****, C, C#, C++, COBOL, CommonLisp, D, Dart, F#, Forth, Fortran, Go, Groovy, Haskell, Intercal, Java, JS, Kotlin, Lua, Nim, ObjC, OCaml, Octave, Pascal, Perl, Pike, Prolog, Python, Ruby, Rust, Scala, Scheme, Sed, Swift, TCL, Turing, VB

Shinigami was browsing Wikipedia when he came upon an interesting article:

A quine is a non-empty 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".

His interest piqued, Shinigami has tasked you with writing such a program.

Input Specification

There is no input

Output Specification

The source code of your program.


  • 1
    Plasmatic  commented on Feb. 22, 2019, 10:34 a.m.

    Apparently you're not allowed to open files for this question?

    • 0
      p1geon  commented on Feb. 22, 2019, 10:37 a.m.


  • 6
    Kirito  commented on Nov. 13, 2016, 10:53 a.m.

    All newlines are stripped from the end of lines to normalize \r\n to \n.