Skip to content

Instantly share code, notes, and snippets.

@memowe
Created May 10, 2010 07:50
Show Gist options
  • Save memowe/395793 to your computer and use it in GitHub Desktop.
Save memowe/395793 to your computer and use it in GitHub Desktop.
#!perl -nal
next if$.==1;print'Case #'.($.-1).': '.(($F[1]&2**$F[0]-1)==2**$F[0]-1?'ON':'OFF')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment