Here are some examples of cookie problems being solved. These were done on the Sun machine named pandora. The number of states visited should be close to these, but not necessarily equal. Your timings might vary quite a bit. The name of my program is cookiesolver; yours should be named lab1.
These are examples with the heuristic function.
pandora2.cs.utsa.edu{bylander}8: $A/interact "$A/cookie -s 10 -n 10" ./cookiesolver
23 states were visited.
0 seconds used.
Solution of length 6 found!
pandora2.cs.utsa.edu{bylander}9: $A/interact "$A/cookie -s 15 -n 15" ./cookiesolver
59 states were visited.
0 seconds used.
Solution of length 9 found!
pandora2.cs.utsa.edu{bylander}10: $A/interact "$A/cookie -s 20 -n 20" ./cookiesolver
116 states were visited.
0 seconds used.
Solution of length 10 found!
pandora2.cs.utsa.edu{bylander}11: $A/interact "$A/cookie -s 25 -n 25" ./cookiesolver
2092 states were visited.
0.09 seconds used.
Solution of length 13 found!
pandora2.cs.utsa.edu{bylander}12: $A/interact "$A/cookie -s 30 -n 30" ./cookiesolver
6329 states were visited.
0.26 seconds used.
Solution of length 15 found!
These are examples with the heuristic function always returning 0.
pandora2.cs.utsa.edu{bylander}22: $A/interact "$A/cookie -s 5 -n 5" ./cookiesolver
40 states were visited.
0.01 seconds used.
Solution of length 4 found!
pandora2.cs.utsa.edu{bylander}24: $A/interact "$A/cookie -s 10 -n 10" ./cookiesolver
520 states were visited.
0.01 seconds used.
Solution of length 6 found!
pandora2.cs.utsa.edu{bylander}26: $A/interact "$A/cookie -s 15 -n 15" ./cookiesolver
6393 states were visited.
0.13 seconds used.
Solution of length 9 found!
pandora2.cs.utsa.edu{bylander}27: $A/interact "$A/cookie -s 20 -n 20" ./cookiesolver
27875 states were visited.
0.57 seconds used.
Solution of length 10 found!