- marcan
- Sep 3, 2006
-
(:(){ :|:;};:)
|
LOLLERZ posted:by the way, try matching this:
a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
against this:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
I can see why that would take forever. The code matches all the a?s first, determines the string to be too short, and then starts trying all combinations for which a?s to consider or not (it isn't smart enough to figure out that they are all equivalent). My guess is the runtine is 2^30.
|
#
¿
Dec 6, 2007 15:39
|
|
- Adbot
-
ADBOT LOVES YOU
|
|
#
¿
May 4, 2024 10:37
|
|