Problem 396. Dancing with wolves?

Solution 51260

Submitted on 25 Feb 2012 by Hans
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
%% beat=(1+rand)/4; wolf=@()pause(beat); tic; partner(wolf); assert(toc>2.5*beat) assert(toc<3*beat)

Suggested Problems

More from this Author100