MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Todaywait exactly x seconds please, need not be more than 2 seconds but must be accurate within say 50 milliseconds, your function must honestly output the amount of time it has actually waited and that will be tested against what it was supposed to do.

60 correct solutions
210 incorrect solutions

Last solution submitted on Jan 25, 2015

1 player likes this problem

1 Comment

Mark Taylor
on 11 Apr 2012

Currently the test for this problem demands accuracy to the nearest 1/10 millisecond. I see a number of solutions (including mine) resort to cheating to achieve this. I'm not sure whether it is currently possible to solve this problem without cheating.

3 Comments