Let's get real... that problem cannot be solved by human brain in a reasonable time... at least not by mine :D
Printable View
Let's get real... that problem cannot be solved by human brain in a reasonable time... at least not by mine :D
Given the result, I think it would have been a tough one to solve without a computer ... There might be a way, but i am not even sure i want to hear about it ... :rolleyes:
Give a representation of 100 with 9 digits in the right order (i.e. 1 goes before 2, 2 goes before 3 and so on) and math operations in between.
Simple example: 20 from the first 4 digits: 1 + 23 -4 = 20.
For the problem you have to use all the 9 digits from 1 to 9.
I wrote a C program and had it crank out the answer in less than 15 minutes total. It wasn't that hard. I have a really old 750Mhz computer here.Quote:
Originally Posted by cilu
1+23-4+5+6+78-9=100Quote:
Originally Posted by cilu
Mine took a little bit longer but I didn't spend to much time of finding the best solution. Just use the first one that came to my mind... ;)Quote:
Originally Posted by Tom Frohman
Nice... And there are another 10 solutions... :thumb:Quote:
Originally Posted by Tom Frohman
A checkers/draughts problem. For rules and description and an example see post 742 through 747.
http://www.codeguru.com/forum/showpo...&postcount=742
http://www.codeguru.com/forum/showpo...&postcount=744
http://www.codeguru.com/forum/showpo...&postcount=746
http://www.codeguru.com/forum/showpo...&postcount=747
http://home.earthlink.net/~tfrohman/...es/problem.jpg
Red moves down. White moves up. The 'Kings" can go either direction.
Red has a move which forces a win by removing all of whites pieces. (after a sequence of several forced moves.)
Just one question. Who goes first? It sounds like you are saying red goes first in this problem but in the previous problem you said white goes first. I just wanted to check.
-Ben
Red goes first.Quote:
Originally Posted by bmacri
Red: 11 moves to 15
White: 20 jumps to 11
Red: 15 jumps to 8
White: 23 jumps to 16
Red: 8 moves to 12
White: 30 jumps to 23
Red: 12 jumps to 19 to 26 to 17 to 10
Well done. You get to ask the next question
Okay here are the rules.
-You start at the yellow square.
-You must walk on each red square.
-You cannot walk on any square you have already walked on.
-Blue squares and black squares cannot be walked on.
Extra credit for anyone who can tell me what this is from.
Good luck
-Ben
Here's the solution, though I have no claim to your extra credit:
Looks good. This comes from the little game called Chips Challenge. If you have not had the chance to test your logic skills with this game I highly recommend it. You can find free downloads on the net. So what's the next question?
-Ben