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]);
^
|