F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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;}
                                                                                                                                                ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-05-18 07:24:12, Gzip enabled