progs/catastrophic/catastrophic2.py
changeset 742 b5b5583a3a08
parent 741 e66bd5c563eb
child 753 d94fdbef1a4f
equal deleted inserted replaced
741:e66bd5c563eb 742:b5b5583a3a08
     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