[UVA] 10177 - (2/3/4)-D Sqr/Rects/Cubes/Boxes?
Problem J(2/3/4)-DSqr/Rects/Cubes/Boxes?Input: standard inputOutput: standardoutputTime Limit:2 seconds You can see a (4x4) grid below.Can you tell me how many squares and rectangles are hidden there? You can assumethat squares are not rectangles. Perhaps one can count it by...