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_37191482_22363.c: In function 'main':
0_0_37191482_22363.c:11:27: error: array subscript is not an integer
             scanf("%lf",&a[i][j]);
                           ^
0_0_37191482_22363.c:16:20: error: array subscript is not an integer
             ave1+=a[i][j];
                    ^
0_0_37191482_22363.c:18:12: error: array subscript is not an integer
         arr[i]=ave1/m;//人的平均成绩
            ^
0_0_37191482_22363.c:18:23: error: expected expression before '/' token
         arr[i]=ave1/m;//人的平均成绩
                       ^
0_0_37191482_22363.c:18:23: error: stray '\310' in program
0_0_37191482_22363.c:18:23: error: stray '\313' in program
0_0_37191482_22363.c:18:23: error: stray '\265' in program
0_0_37191482_22363.c:18:23: error: stray '\304' in program
0_0_37191482_22363.c:18:23: error: stray '\306' in program
0_0_37191482_22363.c:18:23: error: stray '\275' in program
0_0_37191482_22363.c:18:23: error: stray '\276' in program
0_0_37191482_22363.c:18:23: error: stray '\371' in program
0_0_37191482_22363.c:18:23: error: stray '\263' in program
0_0_37191482_22363.c:18:23: error: stray '\311' in program
0_0_37191482_22363.c:18:23: error: stray '\274' in program
0_0_37191482_22363.c:18:23: error: stray '\250' in program
0_0_37191482_22363.c:23:20: error: array subscript is not an integer
             ave2+=a[i][j];
                    ^
0_0_37191482_22363.c:25:12: error: array subscript is not an integer
         brr[j]=ave2/n;//课程的平均成绩
            ^
0_0_37191482_22363.c:25:23: error: expected expression before '/' token
         brr[j]=ave2/n;//课程的平均成绩
                       ^
0_0_37191482_22363.c:25:23: error: stray '\277' in program
0_0_37191482_22363.c:25:23: error: stray '\316' in program
0_0_37191482_22363.c:25:23: error: stray '\263' in program
0_0_37191482_22363.c:25:23: error: stray '\314' in program
0_0_37191482_22363.c:25:23: error: stray '\265' in program
0_0_37191482_22363.c:25:23: error: stray '\304' in program
0_0_37191482_22363.c:25:23: error: stray '\306' in program
0_0_37191482_22363.c:25:23: error: stray '\275' in program
0_0_37191482_22363.c:25:23: error: stray '\276' in program
0_0_37191482_22363.c:25:23: error: stray '\371' in program
0_0_37191482_22363.c:25:23: error: stray '\263' in program
0_0_37191482_22363.c:25:23: error: stray '\311' in program
0_0_37191482_22363.c:25:23: error: stray '\274' in program
0_0_37191482_22363.c:25:23: error: stray '\250' in program
0_0_37191482_22363.c:31:17: error: array subscript is not an integer
             if(a[i][j]>=brr[j]) count++;
                 ^
0_0_37191482_22363.c:31:28: error: array subscript is not an integer
             if(a[i][j]>=brr[j]) count++;
                            ^
0_0_37191482_22363.c:35:38: error: array subscript is not an integer
         if(i!=n-1) printf("%.2f ",arr[i]);
                                      ^
0_0_37191482_22363.c:36:33: error: array subscript is not an integer
         else printf("%.2f\n",arr[i]);
                                 ^
0_0_37191482_22363.c:39:38: error: array subscript is not an integer
         if(j!=m-1) printf("%.2f ",brr[j]);
                                      ^
0_0_37191482_22363.c:40:33: error: array subscript is not an integer
         else printf("%.2f\n",brr[j]);
                                 ^


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-18 10:51:25, Gzip enabled