Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
10
Task/ABC-problem/J/abc-problem-4.j
Normal file
10
Task/ABC-problem/J/abc-problem-4.j
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
Blocks=: >;:'BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM '
|
||||
ExampleWords=: ;: 'A BaRK BOoK tREaT COmMOn SqUAD CoNfuSE '
|
||||
|
||||
canform=:4 :0
|
||||
word=: toupper y
|
||||
need=: #/.~ word,word
|
||||
relevant=: (x +./@e."1 word) # x
|
||||
candidates=: word,"1>,{ {relevant
|
||||
+./(((#need){. #/.~)"1 candidates) */ .>:need
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue