# Input: input consists of up to 10 test cases. each case starts with a line containing a pair of integers

1 answer

###### Question:

Input: input consists of up to 10 test cases. each case starts with a line containing a pair of integers w and h giving the size of the new office space (w is the number of feet west-to-east, h is the number of feet south-to-north). both of these numbers are in the range 1 to 100.after this is a line containing an integer n between 1 and 20 inclusive, giving the number of employees you have. following this are n cubicle placement requests, one per line. each request starts with the name of the employee. the name is a string of 1 to 20 characters (mix of upper and lower case letters a-z, no spaces). the name is followed by four integers x1, y1, x2, y2 where (x1, y1) indicate the coordinates of the south-west corner of the desired cubicle and (x2, y2) indicate the coordinates of the north-east corner. each set of request coordinates satisfies 0 ≤ x1 ≤ x2 ≤ w and 0 ≤ y1 ≤ y2 ≤ h. the sequence of test cases ends at the end of file. output: for each test case, print out a report that starts with the total number of square feet in the building and the number of square feet that no employee has requested (the unallocated space).next give the total number of square feet that are contested because more than one empoyee has requested the same region of the floor. finally, for each employee give the number of square feet that that employee can be guaranteed to have. this is the total area that they requested minus any regions that were requested by another employee. list the employees in the same order they were given in the input. leave a blank line after the output for each test case.

## Answers

#### Similar Solved Works

4 answers

### First right answer gets brainliest

First right answer gets brainliest [tex]First right answer gets brainliest[/tex]...

8 answers

### Which statement is true about the equation 4.5z = 4.5z – 4.25 + 6.25? (1 point) It has no solution.

Which statement is true about the equation 4.5z = 4.5z – 4.25 + 6.25? (1 point) It has no solution. It has one solution. It has two solutions. It has infinitely many solutions....

4 answers

### A cat that weighs 40 pounds has a z-score of 3.2. If the weight of cats has a standard deviation of 5, what is the average weight of a

A cat that weighs 40 pounds has a z-score of 3.2. If the weight of cats has a standard deviation of 5, what is the average weight of a cat? a A 24 B -24 40 D -40 All 11 Unanswered 10...

4 answers

### 1. Which of the following constructions would help to construct a line passing throughpoint C that is perpendicular to the

1. Which of the following constructions would help to construct a line passing through point C that is perpendicular to the line AB? C с A B A. Construction of an equilateral triangle with one side AB B. Construction of a hexagon with one side BC C. Construction of a perpendicular bisector through...

7 answers

### Jasmine is converting £200 to euros. the exchange rate is €1 =77p. how many euro’s will she get

Jasmine is converting £200 to euros. the exchange rate is €1 =77p. how many euro’s will she get...

3 answers

### Show your work. use the formula, p= w + m, to find the retail price (p) if the markup (m) on a cd is $3.59 and the wholesale

Show your work. use the formula, p= w + m, to find the retail price (p) if the markup (m) on a cd is $3.59 and the wholesale price (w) is $12.97....

6 answers

### What is the central idea of this poem? City trees cannot compete with the beauty of trees in the country. People in cities do not realize

What is the central idea of this poem? City trees cannot compete with the beauty of trees in the country. People in cities do not realize that their landscape needs trees. City trees make sounds that cannot be heard above the commotion. People in cities need to travel to the country to see trees blo...

2 answers

### Does anyone have discord if so can u send me the thing so i can add u please im bored i want to talk to someone

does anyone have discord if so can u send me the thing so i can add u please im bored i want to talk to someone...

4 answers

### What regulations govern the election of the members of the house of representatives?

What regulations govern the election of the members of the house of representatives?...

10 answers

### What happens when an experiment with new information or new technology produces results that support

What happens when an experiment with new information or new technology produces results that support an existing theory?...

10 answers

### Which of the following was a result of the dawes act? a. american society came to accept native americans.

Which of the following was a result of the dawes act? a. american society came to accept native americans. b. centralized power held by tribes was strengthened. c. native americans gained us citizenship. d. the us government compensated tribes for previously lost land....

4 answers

### When a country opens itself up to foreign investment, what is the impact on the marginal product of capital (MPK)?

When a country opens itself up to foreign investment, what is the impact on the marginal product of capital (MPK)?...

4 answers

### Calculate the volume in milliliters of a nickel(II) chloride solution that contains of nickel(II) chloride . Round your answer to

Calculate the volume in milliliters of a nickel(II) chloride solution that contains of nickel(II) chloride . Round your answer to significant digits....

3 answers

### Max is creating a yearbook page about Christopher Reeve and wants to include information about recognition he received. Which fact could

Max is creating a yearbook page about Christopher Reeve and wants to include information about recognition he received. Which fact could be included? Once well-known, Reeve used his celebrity status for good causes, such as visiting very sick children through the Make-A-Wish foundation. Unfortunate...

4 answers

### Please help me with thisCompare and contrast Black Lives Matter to the Civil Rights MovementNeed some opinions for my essay.

Please help me with this Compare and contrast Black Lives Matter to the Civil Rights Movement Need some opinions for my essay....

3 answers

### A scale of a coffee mug in a picture is ½ in : 3 cm. Find the actual length of the 4 in. coffee mug.

A scale of a coffee mug in a picture is ½ in : 3 cm. Find the actual length of the 4 in. coffee mug....

5 answers

### Which statements about woodland canoes and baskets are true? choose all answers that are correct. a.

Which statements about woodland canoes and baskets are true? choose all answers that are correct. a. they are made from the bark of birch trees. b. they have designs scratched into their surfaces. c. they are decorated with symbols, lines, and shapes. d. they are made by men and women. e. they have...

3 answers

### List at least three characteristics of the mountain environment

List at least three characteristics of the mountain environment...

4 answers

### Match the characters to their descriptions.'an Englishman by birth'1. Manning“had a wife and two children in2. RobertCincinnati'3.

Match the characters to their descriptions. "an Englishman by birth" 1. Manning “had a wife and two children in 2. Robert Cincinnati" 3. Solomon "a mason by trade" 4. Arthur "born in New York"...