ironic solution ftw!
I should have known! :) Next problem is, how many times can you expect to submit that solution! :)
OK. You've gamed the solution. The author shouldn't have to beef up the test suite to prevent this sort of solution.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
g = 0.9;
f = 10;
tr = 1;
tm = 2;
n = 10;
out = 0;
assert(isequal(chaosOrOrder(g,f,tr,tm,n),out))
|
2 | Pass |
%%
g = 0.9;
f = 10;
tr = 1;
tm = 2;
n = 100;
out = 1;
assert(isequal(chaosOrOrder(g,f,tr,tm,n),out))
|
3 | Pass |
%%
g = 0.9;
f = 10;
tr = .1;
tm = 2;
n = 10000;
out = 0;
assert(isequal(chaosOrOrder(g,f,tr,tm,n),out))
|
1166 Solvers
960 Solvers
Back to basics 24 - Symbolic variables
115 Solvers
189 Solvers
3002 Solvers