Cody

# Problem 1330. James Bond film count

Solution 1074074

Submitted on 5 Dec 2016
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Fail
y=2020; n=bondcount(y); assert(isequal(round(n),27))

Undefined function or variable 'A'. Error in bondcount (line 2) n= A*(Y-1961)^p; Error in TestPoint1 (line 2) n=bondcount(y);

2   Fail
y=2100; n=bondcount(y); assert(isequal(round(n),52))

Undefined function or variable 'A'. Error in bondcount (line 2) n= A*(Y-1961)^p; Error in TestPoint2 (line 2) n=bondcount(y);

3   Fail
y=2289; n=bondcount(y); assert(isequal(round(n),100))

Undefined function or variable 'A'. Error in bondcount (line 2) n= A*(Y-1961)^p; Error in TestPoint3 (line 2) n=bondcount(y);

4   Fail
y=4661; n=bondcount(y); assert(isequal(round(n),500))

Undefined function or variable 'A'. Error in bondcount (line 2) n= A*(Y-1961)^p; Error in TestPoint4 (line 2) n=bondcount(y);