Cody

Problem 45496. Ordered pairs of integers (I, J).

Solution 2257830

Submitted on 6 May 2020 by Yuan
  • 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 = 4950; assert(isequal(number_of_pairs(N),y_correct))

ans = 4950