Submit solution

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

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

Kirito 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, Kirito has tasked you with writing such a program.

Input Specification

There is no input.

Output Specification

The source code of your program.


Comments


  • -5
    justin_g_20  commented on June 5, 2021, 4:19 a.m.

    This comment is hidden due to too much negative feedback. Show it anyway.


    • 6
      Genius3435  commented on June 5, 2021, 12:35 p.m.

      A quine is a non-empty computer program that...


  • 13
    georgezhang006  commented on Sept. 10, 2020, 7:20 p.m.

    Bru, so many people copied from the wikipedia page w/out even removing the comments!


  • -5
    Max01110  commented on March 26, 2020, 8:30 p.m.

    This comment is hidden due to too much negative feedback. Show it anyway.


  • 2
    Plasmatic  commented on Feb. 22, 2019, 3:34 p.m.

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


  • 4
    Kirito  commented on Nov. 13, 2016, 3:53 p.m.

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