IPv6 prefix representation by *yuko*

var s:string;i:comp;begin read(s);s:=s+":::";repeat
i:=pos(":",s);s:=copy(s,i+1)+copy("0000"+s,i,4)until
i=0;for i:=-32to-1do write(s[-i]:1,".");write("ip6.arpa.")end.

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

download

return to the top page