Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
13
Task/ABC-problem/Perl/abc-problem-2.pl
Normal file
13
Task/ABC-problem/Perl/abc-problem-2.pl
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
use Test::More tests => 8;
|
||||
|
||||
my @blocks1 = qw(BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM);
|
||||
is(can_make_word("A", @blocks1), 1);
|
||||
is(can_make_word("BARK", @blocks1), 1);
|
||||
is(can_make_word("BOOK", @blocks1), undef);
|
||||
is(can_make_word("TREAT", @blocks1), 1);
|
||||
is(can_make_word("COMMON", @blocks1), undef);
|
||||
is(can_make_word("SQUAD", @blocks1), 1);
|
||||
is(can_make_word("CONFUSE", @blocks1), 1);
|
||||
|
||||
my @blocks2 = qw(US TZ AO QA);
|
||||
is(can_make_word('auto', @blocks2), 1);
|
||||
Loading…
Add table
Add a link
Reference in a new issue