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!
Find the treasures in MATLAB Central and discover how the community can help you!
选择中国网站（中文或英文）以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。