Kimariji by Yabz

a=eval(100*'raw_input(),')
for s in a:
 for j in range(99):
  if[b[:j]for b in a].count(s[:j])<2:print s[:j];break

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

download

return to the top page