Submit | All submissions | Best solutions | Back to list |
QUINEI - The Quine |
A quine is a computer program which 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.
Your task is to write a quine of source length greater than 1 byte.
Input
There is no input to this problem.
Output
The output is your code itself. For example if your code is "abcde" the required output is "abcde".
score
Score is the length of your code.
PS: You can contact me if you have any doubts about the special Judge or your solution.
Added by: | :(){ :|: & };: |
Date: | 2011-03-13 |
Time limit: | 1.636s |
Source limit: | 10000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | BF C CSHARP C++ 4.3.2 CPP C99 D JAVA PAS-GPC PAS-FPC PYTHON PYTHON3 |
hide comments
2011-04-10 19:47:56 :(){ :|: & };:
@cegprakash:This is a very trivial problem and morever the solutions are floating all over the internet hence this is in tutorial. |
|
2011-03-19 07:14:48 cegprakash
why this is asked in tutorial? move it to challenge |