Cody

Problem 45495. Number of o rderd pairs of integers (I,J) that can be formed.

Solution 2265079

Submitted on 8 May 2020 by Nikolaos Nikolaou
  • Size: 8
  • This is the leading solution.
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   Pass
N = 100; y_correct = 5050; assert(isequal(number_of_pairs(N),y_correct))

ans = 5050

Suggested Problems

More from this Author2