Skip to main content
2 of 10
added 11 characters in body
l4m2
  • 28.5k
  • 12
  • 14

Given a black-box function f(x) which take a value x and output true for \$p(x)\$, an unknown continious monotone function(not knowing even whether it's increasing), probable; and false otherwise. Output an infinite sequence \$a_n\$ such that \$\lim_{n\rightarrow \infty}p(a_n)=0.5\$. You can assume that \$0<\lim_{n\rightarrow \infty}a_n<1\$.

l4m2
  • 28.5k
  • 12
  • 14