### Thursday, February 09, 2006

## Divide 40 KG Stone

**Divide 40 Kg Stone into 4-Pieces such that using**

*Puzzle:*4-Pieces we can measure the all weights from 1 to 40 (only integer values).

I took half day to solve this problem.

Comments:

Links to this post:

<< Home

As you have stated the puzzle, a solution is not possible. Please provide more details on the method of weighing.

I assume you mean weighing using a balance, where you can put the unknown mass (which you want to determine) on one side, and put any combination of stones on either side of the balance ?

I assume you mean weighing using a balance, where you can put the unknown mass (which you want to determine) on one side, and put any combination of stones on either side of the balance ?

anonymous said:

> As you have stated the puzzle,

> a solution is not possible.

You're wrong. The weights 1, 3, 9 and 27 work perfectly fine.

> As you have stated the puzzle,

> a solution is not possible.

You're wrong. The weights 1, 3, 9 and 27 work perfectly fine.

Hello Pradeep,

Maybe you can guide us: do you want people to not post answers? Are you interested in programs that solve the puzzles? I solved the 40kg puzzle in Lisp. What languages are other people using?

Maybe you can guide us: do you want people to not post answers? Are you interested in programs that solve the puzzles? I solved the 40kg puzzle in Lisp. What languages are other people using?

Yes! I am interested in solving puzzles programmatically.

Please post your code in lisp. I am familiar with C++ so i will try to convert your code to C/C++.

Post a Comment
Please post your code in lisp. I am familiar with C++ so i will try to convert your code to C/C++.

Links to this post:

<< Home