Power Tree slow by I., S.(slow)

P=:2e4#0
(0":0-.~'c'&e.{::(101{.P)(;|.)a:{&P".@}.)&.stdin]14([:;<@(,"#:{:4 :'y[P=:x(y=.y#~0=y{P)}P']+{:)"1^:)1

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

download

return to the top page