Morse decode by 51b

#include<ios>
main(){for(int c,n=1;c=getchar(),~c;)n=c%15>1?printf("%c%s","  etianmsurwdkgohvf,l.pjbxcyzq"[n%32]," "+c%2),1:n*2+c%2;}

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

download

return to the top page