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