Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y_correct = 100;
assert(isequal(logic(x),y_correct))
ans =
100
|
2 | Pass |
x = 2;
y_correct = 96;
assert(isequal(logic(x),y_correct))
ans =
96
|
3 | Pass |
x = 4;
assert(isequal(logic(x),89))
ans =
89
|
4 | Pass |
x = 5;
assert(isequal(logic(x),114))
ans =
114
|
483 Solvers
484 Solvers
519 Solvers
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
292 Solvers
Integer Sequence - II : New Fibonacci
252 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!