This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
a = 0.4331;
m = 1.0001;
assert(tri(a)>m*0.99)
|
2 | Pass |
a = 43.31;
m = 10.001;
assert(tri(a)<m*1.01)
|
3 | Pass |
a = 4331;
m = 100.01;
assert(tri(a)>m*0.99)
|
4 | Pass |
a = 4331;
m = 100.01;
assert(tri(a)<m*1.01)
|
1917 Solvers
525 Solvers
Back to basics 20 - singleton dimensions
225 Solvers
Return the first and last character of a string
1665 Solvers
341 Solvers