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_30690589_5047.cpp:10:7: error: 'N' was not declared in this scope
 int l[N],s[N],v[N];
       ^
0_0_30690589_5047.cpp:10:12: error: 'N' was not declared in this scope
 int l[N],s[N],v[N];
            ^
0_0_30690589_5047.cpp:10:17: error: 'N' was not declared in this scope
 int l[N],s[N],v[N];
                 ^
0_0_30690589_5047.cpp:11:9: error: 'N' was not declared in this scope
 int sum[N];
         ^
0_0_30690589_5047.cpp: In function 'int main()':
0_0_30690589_5047.cpp:17:9: error: 'sum' was not declared in this scope
         sum[0]=0;
         ^
0_0_30690589_5047.cpp:20:25: error: 'l' was not declared in this scope
             scanf("%d",&l[i]);
                         ^
0_0_30690589_5047.cpp:27:25: error: 's' was not declared in this scope
             scanf("%d",&s[i]);
                         ^
0_0_30690589_5047.cpp:31:25: error: 'v' was not declared in this scope
             scanf("%d",&v[i]);
                         ^
0_0_30690589_5047.cpp:35:40: error: 'v' was not declared in this scope
             res=max(res,(double)sum[i]/v[i]);
                                        ^
0_0_30690589_5047.cpp:37:36: error: 'v' was not declared in this scope
         res=max(res,(double)sum[0]/v[0]);
                                    ^


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-26 16:07:36, Gzip enabled