Created
June 24, 2011 15:02
-
-
Save arosh/1044962 to your computer and use it in GitHub Desktop.
SuperCon2011 Test Case Maker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby -Ku | |
m = 200 | |
n = 200 | |
k = 200 | |
puts "#{m}, #{n}, #{k}" | |
(n + 1).times do | |
m.times do | |
print "#{(rand * 21).to_i}, " | |
end | |
print "\n" | |
end | |
(m + 1).times do | |
n.times do | |
print "#{(rand * 21).to_i}, " | |
end | |
print "\n" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment