ABC problem: Difference between revisions
Content added Content deleted
m (→Alternative Implementation: In J9, {{ is a token. But, here we wanted two tokens.) |
|||
Line 5,021: | Line 5,021: | ||
need=: #/.~ word,word |
need=: #/.~ word,word |
||
relevant=: (x +./@e."1 word) # x |
relevant=: (x +./@e."1 word) # x |
||
candidates=: word,"1>,{{relevant |
candidates=: word,"1>,{ {relevant |
||
+./(((#need){. #/.~)"1 candidates) */ .>:need |
+./(((#need){. #/.~)"1 candidates) */ .>:need |
||
)</syntaxhighlight> |
)</syntaxhighlight> |