Update all new Tasks
This commit is contained in:
parent
00a190b0a6
commit
91df62d461
5697 changed files with 93386 additions and 804 deletions
14
Task/ABC-Problem/J/abc-problem-2.j
Normal file
14
Task/ABC-Problem/J/abc-problem-2.j
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
Blocks=: ];._2 'BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM '
|
||||
ExampleWords=: <;._2 'A BaRK BOoK tREaT COmMOn SqUAD CoNfuSE '
|
||||
|
||||
Blocks&abc &> ExampleWords
|
||||
1 1 0 1 0 1 1
|
||||
require 'format/printf'
|
||||
'%10s %s' printf (dquote ; 'FT' {~ Blocks&abc) &> ExampleWords
|
||||
"A" T
|
||||
"BaRK" T
|
||||
"BOoK" F
|
||||
"tREaT" T
|
||||
"COmMOn" F
|
||||
"SqUAD" T
|
||||
"CoNfuSE" T
|
||||
Loading…
Add table
Add a link
Reference in a new issue