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_15881479_3995.cpp: In function 'int main()':
0_0_15881479_3995.cpp:11:3: error: expected ';' before 's'
   s=0;
   ^
0_0_15881479_3995.cpp:14:20: error: invalid types 'double [100][double]' for array subscript
    scanf("%lf",&a[i]);
                    ^
0_0_15881479_3995.cpp:15:10: error: invalid types 'double [100][double]' for array subscript
    s+=a[i];
          ^
0_0_15881479_3995.cpp:16:11: error: invalid types 'double [100][double]' for array subscript
     if(a[i]>x)
           ^
0_0_15881479_3995.cpp:17:11: error: invalid types 'double [100][double]' for array subscript
      x=a[i];
           ^
0_0_15881479_3995.cpp:18:13: error: invalid types 'double [100][double]' for array subscript
     if(y>a[i])
             ^
0_0_15881479_3995.cpp:19:11: error: invalid types 'double [100][double]' for array subscript
      y=a[i];
           ^
0_0_15881479_3995.cpp:23:1: error: expected '}' at end of input
 }
 ^
0_0_15881479_3995.cpp:23:1: error: expected '}' at end of input


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-02 18:02:17, Gzip enabled