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
-
4123 Solvers
-
Project Euler: Problem 3, Largest prime factor
1605 Solvers
-
Back to basics 25 - Valid variable names
328 Solvers
-
213 Solvers
-
Side of an equilateral triangle
6437 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!