#Perl 5, 31 bytes
Perl 5, 31 bytes
sub{map$x+=$_,@_;map$x-$_&1,@_}
Outputs 1 for odd and 0 for even.
#Perl 5, 31 bytes
sub{map$x+=$_,@_;map$x-$_&1,@_}
Outputs 1 for odd and 0 for even.
Perl 5, 31 bytes
sub{map$x+=$_,@_;map$x-$_&1,@_}
Outputs 1 for odd and 0 for even.