Skip to content

Instantly share code, notes, and snippets.

@tyru
Forked from mattn/zero.vim
Created July 22, 2010 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tyru/486295 to your computer and use it in GitHub Desktop.
Save tyru/486295 to your computer and use it in GitHub Desktop.
" http://d.hatena.ne.jp/os0x/20081115/1226770265
echo len(substitute(join(range(1001)), '[^0]', '', 'g'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment