var i=0;while(0<1)i=if(i==256)0 else readLine match{case"i"=>i+1;case"d"=>(i-1)max 0;case"s"=>i*i;case"o"=>println(i);i}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page