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_15481533_12020.cpp:1:1: error: 'include' does not name a type
 include<stdio.h>int main(){ int j,i,m,n,c,k,d,a[100][100],l;float sum1[100],sum2[100];    while(scanf("%d%d",&m,&n)!=EOF)    {        d=0;        for(i=1;i<=m;i++)        {            sum1[i]=0;        for(j=1;j<=n;j++)        {            scanf("%d",&a[i][j]);            sum1[i]+=a[i][j];        }        }        for(l=1;l<=n;l++)        {            sum2[l]=0;        for(i=1;i<=m;i++)        {            sum2[l]+=a[i][l];        }        }for(k=1;k<=m-1;k++)        printf("%.2f ",sum1[k]/n);printf("%.2f\n",sum1[k]/n);for(k=1;k<=n-1;k++)        printf("%.2f ",sum2[k]/m);printf("%.2f\n",sum2[k]/m);for(i=1;i<=m;i++)    {    c=0;    for(j=1;j<=n;j++)    {            if(a[i][j]>=sum2[j]/m)c++;            if(c==n)d++;    }    }printf("%d\n\n",d);    }    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-12-03 13:17:27, Gzip enabled