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

44.44% Correct | 55.56% Incorrect
Last Solution submitted on Apr 16, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers18

Suggested Problems

More from this Author165

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!