Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

RE: (redmist) RE: RE: RE: Stat Crack?

by jptxs (Curate)
on Nov 09, 2000 at 06:51 UTC ( [id://40671]=note: print w/replies, xml ) Need Help??


in reply to (redmist) RE: RE: RE: Stat Crack?
in thread Stat Crack?

One name is correct. /me idly wonders about the math on how many guesses it would take to get it right if i keep answering and if the recursion routine that nests the nodes would break before redmist got the whole thing....

"sometimes when you make a request for the head you don't
want the big, fat body...don't you go snickering."
                                         -- Nathan Torkington UoP2K a.k.a gnat

Replies are listed 'Best First'.
RE: RE: (redmist) RE: RE: RE: Stat Crack?
by Blue (Hermit) on Nov 09, 2000 at 22:33 UTC
    My first thougfht is that it's like a game of MastermindTM, but then I realized that we know the positions, just not the choices, and that there is a lot more possibilities. The last name in particular is probably the hardest. Since that is most likely not to be in a list of names, I would probably work it out last. Or perhaps do a different list, such as a local phone book for the area. 8)

    If I was to write this as a Perl program, I would start with a reasonable dictionary of names, find ones with no matches so that I have a "filler" when I only want to check a single position, and then start going through it.

    One algorithm would be to do five new options that match the initial letter at once to cover the boggling number of choices, and then use filler to determine which are correct. This is quicker then one name and four fillers, and as we identify correct parts we can remove those from the change in to zero in on the correct name.

    However, a better algorithm then this brute force approach would probably be better. Any ideas?

    =Blue
    ...you might be eaten by a grue...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://40671]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-03-28 21:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found