Hi everyone! I’m trying to solve puzzle ‘Guessing n Cheating’ and my program passes all cases exept for the last. Here is dump:
50 too low
75 too high
62 too low
69 too low
72 too high
70 too low
17 right on
Alice cheated in round 6
Failure
Found:
Alice cheated in round 6
Expected:
Alice cheated in round 7
I don’t understand why it is 7, cause the cheating was when she said ‘70 too low’, and even the example shows us such case:
5 too high
1 too high <-- round 2
2 right on
Can you please help me with understanding why the answer is not 6?