Skip to content

Instantly share code, notes, and snippets.

@zoffixznet

zoffixznet/p6.p6 Secret

Created October 7, 2017 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoffixznet/0a67ad4a92c31bc03d8c523b9cd28e05 to your computer and use it in GitHub Desktop.
Save zoffixznet/0a67ad4a92c31bc03d8c523b9cd28e05 to your computer and use it in GitHub Desktop.
my $fh := $*IN;
say do with bag $fh.get xx $fh.get {
.<cakewalk> == 1
and .<simple> == 1
and .<easy> == 1
and (.<easy-medium> or .<medium>)
and (.<medium-hard> || .<hard>)
?? 'Yes' !! 'No';
} for ^$fh.get;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment