subject

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.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:00
When is it appropriate to use an absolute reference
Answers: 1
question
Computers and Technology, 22.06.2019 23:50
You need to design a circuit that implements the functions in the following table: s0 s1 function0 0 a + 10 1 a – b1 0 a + b1 1 a – 1s0 and s1 are 1-bit control inputs to select the function of the circuit. inputs a and b are 4-bitnumbers in 2s complement form. the output is also a 4-bit number in 2s complement form.you are allowed to use only one ttl 7483 4-bit adder to implement all the functions. but anynumber of other components (except the adder) can be used.hint: design a combinational logic circuit to modify the input b and the “carry input” of theadder depending on the control inputs s0 and s1.important: lab grade will depend on the working of the circuit & will be checked of by your labinstructor.1. is the output valid for the following input combinations: a. s0 = 0, s1 = 0, a = 7, b = 3? b. s0 = 0, s1 = 1, a = 7, b = 3? c. s0 = 1, s1 = 0, a = -4, b = -5? d. s0 = 1, s1 = 1, a = -8, b = 6? 2. what is the range of inputs (for both a and b) that will produce the valid output for all the functions?
Answers: 3
question
Computers and Technology, 23.06.2019 06:30
To become an audio technician, the most successful tactics might include the following. (select all that apply). learning how to persuade other people gaining different types of experience in audio technology learning as much as possible about art history establishing a reputation as a reliable professional
Answers: 1
question
Computers and Technology, 24.06.2019 01:30
How can you make your column headings stand out?
Answers: 1
You know the right answer?
Input: input consists of up to 10 test cases. each case starts with a line containing a pair of int...
Questions
question
Chemistry, 05.05.2020 15:25
Questions on the website: 13722362