0_0_23194002_20122.cpp: In function 'int main()':
0_0_23194002_20122.cpp:43:144: error: expected '}' at end of input
if (s[0]=='[') return true; Point p; p.read(s); vp.push_back(p); } return true;}vector<double> vd;int main(){ //freopen("i.in","r",stdin); while (read()) { sort(vp.begin(),vp.end()); vd.clear(); int n=vp.size(); int i; for (i=1;i<n;i++) { vd.push_back(vp[i]^vp[i-1]); } sort(vd.begin(),vd.end()); double ans; if (k==0) ans=0; else ans=vd[n-k]; printf("%.3f\n",ans); } return 0;}
^
|