Problem 786. Top of the Hour : Return from your routine within 1 second of the hour
Top of the Hour
Submit your routine such that it returns to Cody after the hour and within 1 second of the hour.
The test criteria will be two seconds.
Inputs: None
Outputs: Unused variable
function x=Top_of_Hour
Solution Stats
Problem Comments
-
2 Comments
I guess you were inspired from my Cody : http://www.mathworks.com/matlabcentral/cody/problems/784-cody-computer-part-4-are-you-a-morning-cody-player-addicted . We can try your problem 24 times per day whereas mine you can try as many times as you want but only between 7 and 9 o'clock ;-)
Gaaah. Missed it by one second.
Solution Comments
Show commentsProblem Recent Solvers24
Suggested Problems
-
Swap the first and last columns
20840 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1849 Solvers
-
371 Solvers
-
241 Solvers
-
Volume of a sphere given its surface area
150 Solvers
More from this Author308
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!