Cody

# Problem 44793. Project Euler 249: Prime Subset Sums

Solution 1793512

Submitted on 19 Apr 2019
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
tic; SUM = euler249(10) toc; assert(isequal(SUM, uint64(7)))

Error in solution Line: 7 Column: 92 Function definition is misplaced or improperly nested.

2   Fail
tic; SUM = euler249(100) toc; assert(isequal(SUM, uint64(5253640)))

Error in solution Line: 7 Column: 92 Function definition is misplaced or improperly nested.

3   Fail
tic; SUM = euler249(1000) toc; assert(isequal(SUM, uint64(5725053962252706)))

Error in solution Line: 7 Column: 92 Function definition is misplaced or improperly nested.

4   Fail
tic; SUM = euler249(2000) toc; assert(isequal(SUM, uint64(9536598422264105)))

Error in solution Line: 7 Column: 92 Function definition is misplaced or improperly nested.

5   Fail
tic; SUM = euler249(4900) toc; assert(isequal(SUM, uint64(2455225028344813)))

Error in solution Line: 7 Column: 92 Function definition is misplaced or improperly nested.