Puzzle of the week: 99 Cops A town has 99 cops. A cop is either honest...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Puzzle of the week: 99 Cops A town has 99 cops. A cop is either honest or corrupt, the majority of the cops is honest. You need to figure out all the corrupt cops, with less than 299 questions. All cops know who is honest and who is corrupt, but only honest cops will answer truthfully. Corrupt cops may lie arbitrarily. For security reasons you can only ask one type of question: You may ask cop X whether cop Y is corrupt. This question will by answered by X with either "Y is corrupt" or "Y is honest". Puzzle of the week: 99 Cops A town has 99 cops. A cop is either honest or corrupt, the majority of the cops is honest. You need to figure out all the corrupt cops, with less than 299 questions. All cops know who is honest and who is corrupt, but only honest cops will answer truthfully. Corrupt cops may lie arbitrarily. For security reasons you can only ask one type of question: You may ask cop X whether cop Y is corrupt. This question will by answered by X with either "Y is corrupt" or "Y is honest".
Expert Answer:
Answer rating: 100% (QA)
H honest cop Ccorrupt cop We have 99 cops That is there will be 48 pairs with one odd copelet him st... View the full answer
Related Book For
Discrete Mathematics and Its Applications
ISBN: 978-0073383095
7th edition
Authors: Kenneth H. Rosen
Posted Date:
Students also viewed these algorithms questions
-
Freedonia has fifty senators. Each senator is either honest or corrupt. Suppose you knowthat at least one of the Freedonian senators is honest and that, given any two Freedonian senators, at least...
-
What facts, estimates, and judgments do you need to figure a test of controls sample size using the R value tables? What other relevant judgment is not used?
-
You need to figure your total energy consumption by looking at your electric and water bills. List the things you can change that will reduce your energy use. A good place to start is by using...
-
Controlling Program Flow w/i an ATM Using selection statements & loops to complete the following: Validate the user's PIN -- only allow them to attempt three (3) times before ending the program If...
-
On her 25th birthday, a young woman engineer decides to start saving toward building up a retirement fund that pays 8% interest compounded quarterly (the market interest rate). She feels that...
-
A 10-m-thick normally consolidated clay layer is shown in Figure 12.57. The plasticity index of the clay is 23. Using Skempton's equation (12.35), estimate the Groundwater table Dry sand Clay Rock
-
When a suspected drunk driver blows 188 mL of his breath through the fuel-cell breathalyzer described in Section 20.7, the breathalyzer produces an average of 324 mA of current for 10 s. Assuming a...
-
A storage tank containing oil (SG = 0.92) is 10.0 meters high and 16.0 meters in diameter. The tank is closed, but the amount of oil it contains can be determined from the gauge pressure at the...
-
1. Explain the transfer of energy from the water through the dam to become electricity that can be used in your home. ( In your response, be sure to identify sources of both potential and kinetic...
-
Dwight Donovan, the president of Donovan Enterprises, is considering two investment opportunities. Because of limited resources, he will be able to invest in only one of them. Project A is to...
-
If our variable cost is 35% and fixed cost are 150000 what $ sales do i need to make a profit before tax of 100,000
-
Please fill out with a paragraph for each section Be able to identify and describe the elements of organizational culture, where culture comes from, issues relative to changing culture, and...
-
Analyze the case study, identify the missing or inadequate security controls, and propose alternative controls that could have mitigated the risks.
-
What is cost of quality? Describe the total quality cost. Company A spends $ 5 0 , 0 0 0 on quality on inspection and receive $ 6 0 , 0 0 0 as complaint. Company B spends $ 1 0 , 0 0 0 on quality...
-
Write a program in c++ , gcd of two no. Using recursion
-
prepare a two page paper on how these three principles apply in the supervision of others. Is one more important than the others? Define each term and analyze how each one effects the supervisory...
-
Solve the given integral equation or integro-differential equation for y(t). t y'(t)-6 Set-vy(v) dv=3t, y(0)=3 y(t) = 0
-
Using a graphing utility, graph y = cot -1 x.
-
What are the equivalence classes of the bit strings in Exercise 30 for the equivalence relation R4 from Example 5 on the set of all bit strings? (Recall that bit strings s and t are equivalent under...
-
List the ordered pairs in the equivalence relations produced by these partitions of {0, 1, 2, 3, 4, 5}. a) {0}, {1, 2}, {3, 4, 5} b) {0, 1}, {2, 3}, {4, 5} c) {0, 1, 2}, {3, 4, 5} d) {0}, {1}, {2},...
-
Show that these statements are inconsistent: "If Miranda does not take a course in discrete mathematics, then she will not graduate." "If Miranda does not graduate, then she is not qualified for the...
-
Find the probability of an IQ less than 85.
-
If 25 women are randomly selected, find the probability that the mean of their red blood cell counts is less than 4.444. Assume that red blood cell counts of women are normally distributed with a...
-
Mensa International calls itself the international high IQ society, and it has more than 100,000 members. Mensa states that candidates for membership of Mensa must achieve a score at or above the...
Study smarter with the SolutionInn App