Help for this page

Select Code to Download


  1. or download this
        my $answer = $$result[0];
        if ( ($answer == 1) && ( $i % 2 != 0) ) {
    ...
        }
        print "$answer\n";
    
  2. or download this
    Testing 0   0 0 0 0 0 -> 1
    Testing 1   0 0 0 0 1 -> Got it wrong!
    ...
    Testing 14   0 1 1 1 0 -> 1
    Testing 15   0 1 1 1 1 -> 0
    Testing 16   1 0 0 0 0 -> 1