progs/catastrophic/catastrophic.py
changeset 742 155426396b5f
parent 741 6512884e03b4
child 745 905b60a029bf
equal deleted inserted replaced
741:6512884e03b4 742:155426396b5f
     7 # regex: (a*)*b
     7 # regex: (a*)*b
     8 # strings: aa...a
     8 # strings: aa...a
     9 #
     9 #
    10 # call with timing as:
    10 # call with timing as:
    11 #
    11 #
    12 #   > time ./catastrophic.py 20
    12 #   time ./catastrophic.py 20
    13 
    13 
    14 # counter n given on the command line
    14 # counter n given on the command line
    15 cn = sys.argv[1]
    15 cn = sys.argv[1]
    16 
    16 
    17 # calling the matching function
    17 # calling the matching function