In the 5th test case there is number n=10000675820025; which is very large number MATLAB is not accepting to get number from 1 to 10000675820025;
@Bhaskar
that means u need to find some alternate way to solve
262 Solvers
Back to basics 25 - Valid variable names
294 Solvers
Sum the entries of each column of a matrix which satisfy a logical condition.
139 Solvers
494 Solvers
Flip the vector from right to left
2838 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!