Problem 44349. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matters is when you submit it. It can be 5 seconds after, 555 seconds, or 3300 seconds after the hour. So long as the number of seconds is a multiple of five, you are good to go.
Solution Stats
Problem Comments
-
12 Comments
There is not a test which really test if the submitted function is really does really solve the problem. here the "best" solution is a trivial function, submitted many times in order to reach the condition.
Elmar, I readily admit that this is a very easy problem.That's why it is in the "Cody5:Easy" section. There is code that will guarantee a correct solution, regardless of when you submit your entry. However, people going for the lowest possible Cody score will just keep submitting a low score entry until they hit the clock just right. There's really not a whole heck of a lot I can do about that.
Is there a way I can override the clock command used in the test case. Maybe freeze the clock and ignore the one in assert?
What a waiting game
And what is the point of this problem if no coding is invloved and people just submit? The idea is very stupid and shameful.
Tip: the command pause in Cody has a ceil of 2 seconds currently. (The code could be way smaller without this constraint.)
This is funny, but probably shouldn't count for points ????
It is hard.
5 seconds "after the hour" or "after the minute"? If it's supposed to be "after the hour", that's a long time to wait to see if your submission goes through.
Wow, this was a fun break from the normal Cody questions
Got it on my 5th try!
Fun,entertain,relax problerm
Solution Comments
Show commentsProblem Recent Solvers941
Suggested Problems
-
2245 Solvers
-
All your base are belong to us
540 Solvers
-
Back to basics 11 - Max Integer
785 Solvers
-
485 Solvers
-
Make a vector of prime numbers
643 Solvers
More from this Author80
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!