Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 7;
y_correct = [2,3];
assert(isequal(nim(x),y_correct))
a =
16
|
2 | Pass |
%%
x = 11;
y_correct = [2,5];
assert(isequal(nim(x),y_correct))
a =
46
|
3 | Pass |
%%
x = 3;
y_correct = [2,1];
assert(isequal(nim(x),y_correct))
a =
2
|
2183 Solvers
What is the distance from point P(x,y) to the line Ax + By + C = 0?
278 Solvers
620 Solvers
321 Solvers
203 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!