Topological Sorting by murky-satyr

for(s='';$=readline()||/\d+(?=: *#)/(s);)s=$[1]?s+$+'#':print($)||s.replace(eval('/\\b'+$+'\\b/g'),'')

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

download

return to the top page