| changeset 742 | 155426396b5f |
| parent 741 | 6512884e03b4 |
| child 753 | 30ea6b01db46 |
| 741:6512884e03b4 | 742:155426396b5f |
|---|---|
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 |