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_34931355_6282.cpp: In function 'int main()':
0_0_34931355_6282.cpp:7:17: error: declaration of 'a' as multidimensional array must have bounds for all dimensions except the first
         int a[][];int i,j=0,p=0,q=0;
                 ^
0_0_34931355_6282.cpp:10:16: error: 'a' was not declared in this scope
             q+=a[i][j];printf("%.2f\n",(float)q/m)
                ^
0_0_34931355_6282.cpp:11:13: error: expected ';' before 'for'
             for(;j<n;j++)
             ^
0_0_34931355_6282.cpp:11:25: error: expected ';' before ')' token
             for(;j<n;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-01 17:12:05, Gzip enabled