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

43.18% Correct | 56.82% Incorrect
Last Solution submitted on Apr 09, 2023

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers17

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!