Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
board = [ 0 0 0 0
0 1 2 0
0 2 1 0
0 0 0 0 ];
side = 1;
moves = [3 8 9 14];
assert(isequal(reversi_moves(board,side),moves))
1
2
3
4
5
8
9
12
13
14
15
16
|
2 | Pass |
board = [ 1 2
2 1 ];
side = 1;
moves = [];
assert(isequal(reversi_moves(board,side),moves))
|
3 | Pass |
board = [ 0 0 0 0
0 1 1 1
0 2 1 0
0 0 0 0 ];
side = 2;
moves = [5 13 15];
assert(isequal(reversi_moves(board,side),moves))
1
2
3
4
5
8
9
12
13
15
16
|
I've got the power! (Inspired by Project Euler problem 29)
75 Solvers
179 Solvers
99 Solvers
There are 10 types of people in the world
86 Solvers
55 Solvers