Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Notes : IN C LANGUAGE PAY ATTENTION TO CAASE, AND THE LOGIC DONT USE VOID MAIN INPUT AND OUTPUT MUST BE SAME Sub - Rectangle

image text in transcribed

Notes : IN C LANGUAGE

PAY ATTENTION TO CAASE, AND THE LOGIC

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions

Question

Define span of management or define span of control ?

Answered: 1 week ago

Question

What is meant by formal organisation ?

Answered: 1 week ago

Question

What is meant by staff authority ?

Answered: 1 week ago

Question

Discuss the various types of policies ?

Answered: 1 week ago

Question

What metaphors might describe how we work together?

Answered: 1 week ago

Question

What are some of the possible scenes from our future?

Answered: 1 week ago