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 |
N = 100;
y_correct = 5050;
assert(isequal(number_of_pairs(N),y_correct))
ans =
5050
|
4596 Solvers
Split a string into chunks of specified length
475 Solvers
241 Solvers
101 Solvers
176 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!