CALC fixed by nn

for(;l=readline(u='');print(l.replace(/\D/g,' $& '),'=',u))for(;v=/.\w*/g(l);)u=eval(u+v)

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

download

return to the top page