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_32807958_17344.cpp:1:2: error: invalid preprocessing directive #includeint
 #includeint main(){    int i,t,n;    double s[2],c[2];    scanf("%d",&t);    while(t--)    {        scanf("%d",&n);        for(s[1]=c[1]=i=0;n--;)        {            scanf("%*s%lf%lf",c,s);            if(s[0]<60)            {                i=1;            }            if(i)            {                continue;            }            s[1]+=s[0]*c[0];            c[1]+=c[0];        }        printf(i?"Sorry!\n":"%.2f\n",s[1]/c[1]);        if(t)        {            printf("\n");        }    }    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-11-30 12:18:21, Gzip enabled