Write a c++ program to accept an n*m matrix

Assignment Help C/C++ Programming
Reference no: EM13937880

Write a C++ program to accept an n*m matrix containing only 0 and 1 values, and then find it's biggest zero submatrix i.e. the biggest submatrix in which all the values are 0.

INPUT

First line contains two numbers n, m (n,m<=300),
then n lines, each having m 0/1 digits.

OUTPUT

One number, which represent the number of zeros inside the biggest zero submatrix.

SAMPLE INPUT

6 5
0 0 0 0 0
0 1 1 1 0
0 1 0 1 0
0 1 1 1 0
0 0 0 0 0
0 0 0 0 0

SAMPLE OUTPUT

10

Reference no: EM13937880

Questions Cloud

Drawing rights with the international monetary fund : Drawing rights with the International Monetary Fund
Assets and liabilities of her coin-operated laundry : Janet Jones sold the assets and liabilities of her coin-operated laundry to Kevin Katz for $10,000. The assets of the business included all of the washers and dryers. After Katz failed to make an installment payment when it was due, Dryer Company sue..
What does recognize revenue mean in accounting : What does recognize revenue mean in accounting? What is the matching principle? What is an accrual? What is a deferral?
Using, finkelstein methodology : A local pharmacy store in Wollongong wants to develop an online system to track their product inventory as well as prescription records of their products for regulatory requirements. As part of systems development, a data model is required to dete..
Write a c++ program to accept an n*m matrix : Write a C++ program to accept an n*m matrix containing only 0 and 1 values, and then find it's biggest zero submatrix i.e. the biggest submatrix in which all the values are 0.
Explain the reasons as to why atc is u-shaped : Analyze the effect a $300 price ceiling would have on the market for ten-speed bicycles. Would this be a binding price ceiling?
Discuss the probable outcome of the lawsuits : A young stockbroker was rather overwhelmed by a flood of new clients. Assunta, one of his clients, had purchased XYZ Corp. stock through the broker at a price of $35 per share. The price had gone down to $29 by the time Assunta telephoned the broker...
What are the advantages of the corporate form of ownership : What are the advantages of the corporate form of ownership? What are the disadvantages of the corporate form of ownership?
Parties had made during their prior negotiations : Jones and Clark entered into a written contract for the purchase of an apartment building by Clark. The contract was carefully drafted to set forth the agreement of the parties. It was signed by both parties. Clark subsequently claimed that the contr..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd