Question: Prob B Notes : IN C LANGUAGE USE BASIC CODE DONT USE VOID MAIN INPUT AND OUTPUT MUST BE SAME Sub - Rectangle As a
Prob B


Notes : IN C LANGUAGE
USE BASIC CODE
DONT USE VOID MAIN
INPUT AND OUTPUT MUST BE SAME
Sub - Rectangle As a lot of students don't like long problem statements, Lili decided to make this one as short as possible. She asks you to solve a simple problem: given a rectangle of size NM. determine how many sub-rectangles are there in the rectangle! Format Input The only line of input consists of two integers N and M. the dimension of the given rectangle. Format Output Output a single integer X which is the amount of sub-rectangles in the given rectangle. Constraints .13N 50 15M
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
