Morse decode by sky_way

#import<cstdio>\x0d
int d[]={5,35,43,18,0,11,26,3,1,31,22,19,13,9,30,27,55,10,2,4,6,7,14,39,47,51},s,l,c;main(int j){for(;c=getchar();){if(c>44&&c<47)s<<=1,s+=c&1,l++;else{for(j=26;j&&d[--j]^s<<2^l-1;);putchar(l>4?s&2?44:46:97+j);c^32||putchar(c);if(s=l=c<11)break;}}}

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

download

return to the top page