Hangul resyllabification by hallvabo

import java.util.*;enum H{H;{for(Scanner S=new Scanner(System.in,"utf8");S==S;){char[]a=S.next().toCharArray();int c=(a[0]-16)%28;a[0]-=c;a[1]+=(c<9?c/2+c/8-11:c+c/23-21)*588;try{System.out.write((new String(a)+"\n").getBytes("utf8"));}catch(Exception _){}}}}

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

download

return to the top page