Hangul resyllabification by hallvabo

#define G getchar()
#define P putchar
#define R (G%16<<12|G%64*64|G%64)
#define W(v)(P(224|v>>12),P(128|v/64%64),P(128|v%64))
n;main(u,v,c){for(;n++<1e3;W((u-c)),W(v),P(G))u=R,c=(u-16)%28,v=R+(c<9?c/2+c/8-11:c+c/23-21)*588;}

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

download

return to the top page