Cody

Problem 45276. No of squares in a grid

given a m*n grid

calculate the no of possible squares & rectangles on that grid.

output: y=[no of rectangles , no of sqaures]

Solution Stats

38.89% Correct | 61.11% Incorrect
Last Solution submitted on May 07, 2020