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_19661441_881.c: In function 'main':
0_0_19661441_881.c:3:26: error: expected expression before '/' token
   int n, m, i, j, count; // n students, m classes, sum of m scores
                          ^
0_0_19661441_881.c:9:27: error: 'b' undeclared (first use in this function)
   for (i = 0; i < n; ++i) b[i] = 0;
                           ^
0_0_19661441_881.c:9:27: note: each undeclared identifier is reported only once for each function it appears in
0_0_19661441_881.c:10:27: error: 'a' undeclared (first use in this function)
   for (j = 0; j < m; ++j) a[j] = 0;
                           ^
0_0_19661441_881.c:13:21: error: 'c' undeclared (first use in this function)
       scanf("%lf", &c[i][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-07-07 08:56:03, Gzip enabled