Uva 10116 robot motion

Nov 17, 2009

Problem: 10116.robot motion
Tips:
1. First you have to input correctly.
2. Take two array on is indicate input array other array element represent movement number.
3. If out of col or row then only print count step
4. Otherwise count -arry count current position value -1
5. And count= count-loop count;
6. End

Code In C/C++:

No comments:

Post a Comment