clock() returns how many ticks have passed since the program was started. The length of a tick is system-dependent.0For example, on Windows is 1 ms and on Linux is 1 µs. CLOCKS_PER_SEC will give you that information.
what do you mean?
if your question mean how long it need to be complete, or when the progams stop?
with the first quest ,your program must be edit to the robot_code and it realy to be use,and input more information to complete the program.
with the second quest,the program auto run to top to bot the program and stop when end it,with {} in the main funtion. in that running mabe it can call the oather fuctions to solve the problem.
i'm reaby in english.maybe i'm not know esaly wwhat you mean,if wrong tell me more.