Your visual aid shows the effect much more dramatically.
TekkenMaster said:If you can't solve the riddle that "Einstein said only 2% of world population can solve it" does it make you popular?
By the way, what is that riddle?
There are 5 houses in 5 different colours. In each house lives
a person with a different nationality. The 5 owners drink a
certain type of beverage, smoke a certain brand of cigar, and
keep a certain pet. No owners have the same pet, smoke the
same brand of cigar, or drink the same beverage.
The question is: Who owns the fish
Hints:
The Brit lives in the red house.
The Swede keeps dogs as pets.
The Dane drinks tea.
The green house is on the left of the white house.
The green homeowner drinks coffee.
The person who smokes Pall Mall rears birds.
The owner of the yellow house smokes Dunhill.
The man living in the center house drinks milk.
The Norwegian lives in the first house.
The man who smokes Blend lives next to the one who keeps cats.
The man who keeps the horse lives next to the man who smokes Dunhill.
The owner who smokes Bluemaster drinks beer.
The German smokes prince.
The Norwegian lives next to the blue house.
The man who smokes Blend has a neighbor who drinks water.
london-boy said:Please resize the answers font to "tiny"!!! I wanna do this properly tonight when i get home
Hidden text example
Basic said:I like Jabbah's version A LOT better than the irritating small text.
But it's even better with one modification, use white text inside a quote.
Then just mark the text to unhide it.
Hidden text example
You'll regret not solving it yourself....K.I.L.E.R said:Can someone please give me the answer to the first puzzle?
The two small triangles don't have the same slope... just look at the ratios of their heights to lengths. This means that the "Large triangles" are not triangles at all. In the top configuration, the shape bends in and in the bottom it bends out. The difference in area of those two bends, believe it or not, is equal to one grid square, hence the gap in the bottom figure
Crisidelm said:Well, I think that Einstein (if he really did say that anyway) meant that only 2% of world population can solve it without using paper and pen (or any other "aid" alike), that is, mentally only.
Simon F said:Crisidelm said:Well, I think that Einstein (if he really did say that anyway) meant that only 2% of world population can solve it without using paper and pen (or any other "aid" alike), that is, mentally only.
Are you sure? I can't imagine even 2% of the population could keep more than 8 facts in their short term memory at a time.
Simon F said:You'll regret not solving it yourself....K.I.L.E.R said:Can someone please give me the answer to the first puzzle?
The two small triangles don't have the same slope... just look at the ratios of their heights to lengths. This means that the "Large triangles" are not triangles at all. In the top configuration, the shape bends in and in the bottom it bends out. The difference in area of those two bends, believe it or not, is equal to one grid square, hence the gap in the bottom figure
I knew I would get some good use of that rot-13 feature in EditPad.Simon F said:An alternative is to install "rot-13 selection".
I solved it by hand a few years ago, but it wasn't fun enough to do it once more. So this time I did it in C. Woohaa!, 14 nested levels of for-loops. I think that's a personal record.Simon F said:I got bored solving it by hand a few years back and so wrote some C code, if anyone wants it. It should be general enough to solve a few of the typical puzzles
My God! What approach did you take?Basic said:I solved it by hand a few years ago, but it wasn't fun enough to do it once more. So this time I did it in C. Woohaa!, 14 nested levels of for-loops. I think that's a personal record.
Oh, and as a bonus it's written in a code style that would scare off the most hardened code reviewer. Lots of nice macros. I think the speed comes from the lack of whitespace and comments.Except for the first three realy trivial rules, it's basically one loop per rule, plus one "sign-loop" for each next-to rule. Full search with early pruning. Each loop tries to place a rule in the five different houses, and if it doesn't conflict with the outer loops/rules, goes on with next rule.
It might sound horribly ineffective, but the pruning does the job very well. The limiting factor seem to be how fast the program can printf the answer to the shell.