Cody

# Problem 42774. GJam March 2016 IOW: Clock Dance

Solution 2525705

Submitted on 12 Jun 2020
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   Fail
m=[8 3 1 ]; v=ClockDance(m); vexp=[6 4 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test1 (line 2) v=ClockDance(m);

2   Fail
m=[8 4 2 ]; v=ClockDance(m); vexp=[1 7 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test2 (line 2) v=ClockDance(m);

3   Fail
m=[4 1 8 ]; v=ClockDance(m); vexp=[2 4 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test3 (line 2) v=ClockDance(m);

4   Fail
m=[10 9 6 ]; v=ClockDance(m); vexp=[2 10 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test4 (line 2) v=ClockDance(m);

5   Fail
m=[4 2 9 ]; v=ClockDance(m); vexp=[1 3 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test5 (line 2) v=ClockDance(m);

6   Fail
m=[8 2 10 ]; v=ClockDance(m); vexp=[7 5 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test6 (line 2) v=ClockDance(m);

7   Fail
m=[8 8 7 ]; v=ClockDance(m); vexp=[3 1 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test7 (line 2) v=ClockDance(m);

8   Fail
m=[4 4 3 ]; v=ClockDance(m); vexp=[3 1 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test8 (line 2) v=ClockDance(m);

9   Fail
m=[6 6 1 ]; v=ClockDance(m); vexp=[5 3 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test9 (line 2) v=ClockDance(m);

10   Fail
m=[4 4 6 ]; v=ClockDance(m); vexp=[1 3 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test10 (line 2) v=ClockDance(m);

11   Fail
m=[4 2 5 ]; v=ClockDance(m); vexp=[1 3 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test11 (line 2) v=ClockDance(m);

12   Fail
m=[4 4 1 ]; v=ClockDance(m); vexp=[3 1 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test12 (line 2) v=ClockDance(m);

13   Fail
m=[4 1 1 ]; v=ClockDance(m); vexp=[4 2 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test13 (line 2) v=ClockDance(m);

14   Fail
m=[6 2 2 ]; v=ClockDance(m); vexp=[5 3 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test14 (line 2) v=ClockDance(m);

15   Fail
m=[6 1 10 ]; v=ClockDance(m); vexp=[4 2 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test15 (line 2) v=ClockDance(m);

16   Fail
m=[8 3 1 ]; v=ClockDance(m); vexp=[6 4 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test16 (line 2) v=ClockDance(m);

17   Fail
m=[8 4 2 ]; v=ClockDance(m); vexp=[1 7 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test17 (line 2) v=ClockDance(m);

18   Fail
m=[4 1 8 ]; v=ClockDance(m); vexp=[2 4 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test18 (line 2) v=ClockDance(m);

19   Fail
m=[72137284 16112525 91351141 ]; v=ClockDance(m); vexp=[54540240 54540238 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test19 (line 2) v=ClockDance(m);

20   Fail
m=[155546 123001 56937611 ]; v=ClockDance(m); vexp=[138552 138550 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test20 (line 2) v=ClockDance(m);

21   Fail
m=[78548986 44806245 20024652 ]; v=ClockDance(m); vexp=[6306564 6306562 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test21 (line 2) v=ClockDance(m);

22   Fail
m=[4 2 5 ]; v=ClockDance(m); vexp=[1 3 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test22 (line 2) v=ClockDance(m);

23   Fail
m=[61256952 31789482 70629381 ]; v=ClockDance(m); vexp=[13044625 13044623 ]; assert(isequal(vexp,v))

Undefined function 'ClockDance' for input arguments of type 'double'. Error in Test23 (line 2) v=ClockDance(m);