fork(1) download
  1. f=@(s)mod(nnz(~(s'-'aeiouAEIOU')),2)
  2.  
  3. f('trees')
  4. f('CaTs')
  5. f('Savoie')
Success #stdin #stdout 0.22s 103360KB
stdin
Standard input is empty
stdout
f =

@(s) mod (nnz (!(s' - 'aeiouAEIOU')), 2)

ans = 0
ans =  1
ans = 0