Skip to content

Instantly share code, notes, and snippets.

@yswallow
Created April 28, 2013 01:42
Show Gist options
  • Select an option

  • Save yswallow/5475477 to your computer and use it in GitHub Desktop.

Select an option

Save yswallow/5475477 to your computer and use it in GitHub Desktop.
東工大のクイズ(http://www.titech.ac.jp/publications/j/techtech19/06.html のNo.2)を力ずくで解く〜Ruby ver.〜
for i in 1..200
puts i if i%7 == 3 && i%5 == 2 && i%3 == 1
end
#=>52,157
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment