McCarthy 91 function by aaa

(function M(i,strb,stre) {
\x09print((strb='M('+(strb||''))+i+(stre=(stre||'')+')'));
\x09if(i>100)
\x09\x09return i-10;
\x09while((i=M(i+11,strb,stre))<=100)
\x09\x09print(strb+i+stre);
\x09print(strb+i+stre);
\x09if(stre.length==1)print(i-10);
\x09return i-10;
})(Number(readline()),'','')

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page