Topological Sorting by niha

gets$9;gsub(/ #$1(\s)/,'\1')while sub!(/(.+):
/){puts$1}

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

download

return top