#include #include #include using namespace std; int N,K,i=0; float L[300000]; void nibutan(float s,float t); bool f(float x); int main(){ //float s,t; cin>>N; for(int j=0;j>L[j]; } cin>>K; nibutan(0.000000001,1000000000); } void nibutan(float s,float t){ float ng = s, ok = t; while (i<100) { float mid = (ng + ok) / 2; (f(mid) ? ok : ng) = mid; i++; } cout<s)return true; else return false; }