Search found 3 matches

by mek027
Sat Mar 11, 2006 8:28 am
Forum: Volume 103 (10300-10399)
Topic: 10370 - Above Average
Replies: 62
Views: 18476

10370

plz give me some I/O for 10370(above average)
Tx alot
by mek027
Mon Feb 13, 2006 4:13 pm
Forum: Volume 103 (10300-10399)
Topic: 10370 - Above Average
Replies: 62
Views: 18476

hello
tanX for your help
i do your offers but still give WA
by mek027
Sat Feb 11, 2006 4:13 pm
Forum: Volume 103 (10300-10399)
Topic: 10370 - Above Average
Replies: 62
Views: 18476

10370 WA?! why?

i got WA plz help me this is my code : #include<stdio.h> int main() { int tc,n,grade[100],i,c=0; double ave,p,sum=0; scanf("%d",&tc); while(tc) { p=0.000;sum=0.000;c=0; scanf("%d",&n); for(i=0;i<n;i++) { scanf("%d",&grade ); sum+=grade ; } ave=((double)sum/(double)n); for(i=0;i<n;i++) { if(grade >av...

Go to advanced search