changeset 742 | b5b5583a3a08 |
parent 741 | e66bd5c563eb |
child 753 | d94fdbef1a4f |
741:e66bd5c563eb | 742:b5b5583a3a08 |
---|---|
6 # regex: (a?){n} a{n} |
6 # regex: (a?){n} a{n} |
7 # strings: aa... |
7 # strings: aa... |
8 # |
8 # |
9 # run on the command line with: |
9 # run on the command line with: |
10 # |
10 # |
11 # $> ruby catastrophic.rb |
11 # ruby catastrophic.rb |
12 # |
12 # |
13 |
13 |
14 nums = (1..1000) |
14 nums = (1..1000) |
15 |
15 |
16 #iterate through the nums 1-1000 |
16 #iterate through the nums 1-1000 |