我现在的心情十分激动不能自已~~~

Question 2: Let A be a Monte Carlo algorithm that, for any given input, outputs either
YES or NO. (For example, YES could indicate that the input is a prime number, whereas
NO could indicate that the input is not a prime number.) You are told that with probability
2/3, the output is correct.
For a large odd integer k, consider the following algorithm B:
• Run algorithm A k times.
• Return the most frequent output obtained in these k runs.
Use the Chernoff bound to show that the output of algorithm B is correct with probability
at least
1 − e−k/48.
 
Question 2: Let A be a Monte Carlo algorithm that, for any given input, outputs either
YES or NO. (For example, YES could indicate that the input is a prime number, whereas
NO could indicate that the input is not a prime number.) You are told that with probability
2/3, the output is correct.
For a large odd integer k, consider the following algorithm B:
• Run algorithm A k times.
• Return the most frequent output obtained in these k runs.
Use the Chernoff bound to show that the output of algorithm B is correct with probability
at least
1 − e−k/48.
comp3804?
 
...栏登福阁搭沙壁...>_<
 
后退
顶部