Skip to main content
3 of 4
deleted 16 characters in body
Luis Mendo
  • 105.3k
  • 9
  • 135
  • 372

Matlab, 325

A=(input('','s'));nnz(floor(mod(bsxfun(@times,[A 0],2.^(-7:0)'),2)))*~isequal(A,'test')
Luis Mendo
  • 105.3k
  • 9
  • 135
  • 372