Sorry,i have a question about bactracking,plz help me

wai_wai0

Newcomer
Joined
Nov 25, 2003
Messages
1
I am a new beginer in programming,now i am studying VB.NET and use it to solve a problem.I searched for a long time,to solve this problem,i can use the bactracking algotithm.However, another problem appeared,i dont know how to program backtracking and i haved search in internet.It just help me to know the principle of it.However,even if there is a chese Queen example, it is so cmoplicated,i cant undestand how to program it.
My origin problem is about matching the A,B,C,D,E boxes .....to save the pointed toys.
But,if I change it into a simple case,how can i pay the coins excactly to the fare.
asume i can take 7 coins by sequence from left to right0.1,0.1,0.2,0.2,0.5,1,2,
how can i lst the excatly payment method with loop of backtracking method to the fare.Am i right that to add one more loop when one more coin take out?
Thank,plz help me,i just want a example.....to help me to complete the program
 
Back
Top