Skip to content

Instantly share code, notes, and snippets.

@rhysd
Created November 10, 2011 23:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rhysd/1356655 to your computer and use it in GitHub Desktop.
Save rhysd/1356655 to your computer and use it in GitHub Desktop.
AA-Quine
eval($q= "$q='eva l($q=% p.split *%p)'%[$q,'' ];$o= 0;(m=%q_efg!q !+b<b/tj{f/uj
nft|}j }u>b\\ j^<qsj ou)j& 3>>1@(!(+u;% r\\%p-u ^*<%p,>u!jg)j &3>>2*~<qvut<
foe_ ).si ze.tim es{| i|m[ i]-= 1};eval(m );p( 0,8, 14,8 ,4,6
,4,7 ,4,1 2,15,5, 36,1 3,6, 13); p(1, 6,16 ,6,6 ,6,4 ,5,6 ,12,
13,7 ,36, 13,6 ,13 );p( 2,4, 18,4 ,8,6 ,3,4 ,8,4,4,4,11, 9,36,4,5,4,6
,4,5 ,4); p(2, 4,18,4, 8,7, 2,4, 8,4,5,4,9,4,3,4 ,35,4,5,4,6 ,4,5,4);p(2
,4,1 8,4, 8,4, 1,3,1, 4,8, 4,5, 4,8,4,5,4,34,12,7 ,12) ;p(2
,4,18,4,8,4,2,7 ,8,4,5 ,4,7, 15,33, 11,8,11);p(2 ,4,18 ,4,8, 4,3,6,8,4,4,4,7,17, 32,4 ,15,4
);p(1,15,7,6,6,5, 4,6,6,12 ,7,5,9, 5,6,19 ,6,4,14,5);p (0,17,5,8 ,4,7,4,6, 4,12,6,9,5,9,3,21,3,8 ,11,9)". split*"")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment