Newer
Older
skip-web / minato2014 / magic.rb
@MURAKAMI Masaki MURAKAMI Masaki on 22 Jul 2014 187 bytes Updated
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-

def magic()
  srand(123456789)
  hoge = Array.new
  while hoge.length < 100
    hoge << rand(1000000)
    hoge.uniq!
  end
  return hoge
end