« New Scientist - Enigma and Puzzles | Main | Putting on weight »

August 11, 2008

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83452386969e200e553f922438834

Listed below are links to weblogs that reference Solution to yesterday's problem:

Comments

sandeep

Well... I didn't like the solution.

Too much of brute force. :(

sandeep

Do you really have that many spams .. to keep this word-verification? -- it's irritating.

Hiran Ramankutty

Infact variable `i' can be started at 40000000 instead of 10000000.

Solution is brute force partially, since some of the conditions that I check is based on initial round of elimination. But which takes more time, this program or doing it manually. You got the solution to the problem, what else do you want.

Let me see if I can remove that verification or at least make it simple.

sandeep

Well.. the thing is I would like a soution which says like - a, b, c, d, e, f are the values which would suit for N -- and if N is 'a', the values of E can be g, h, or k.

Here a - h being digits [0-9]

That would be a heuristic which would have some back tracking and real AI kind of stuff. :) [some heuristic + tree + back-tracking]

I am not complaining... I got the solution from you and I appreciate it.

Also, I am just sitting here and suggesting stuff.. instead of solving it. Enneyokke kettiyittu adikkanam ;)

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment