0_0_29955630_18676.cpp:6:7: error: 'maxn' was not declared in this scope
int s[maxn],l[maxn],v[maxn];
^
0_0_29955630_18676.cpp:6:15: error: 'maxn' was not declared in this scope
int s[maxn],l[maxn],v[maxn];
^
0_0_29955630_18676.cpp:6:23: error: 'maxn' was not declared in this scope
int s[maxn],l[maxn],v[maxn];
^
0_0_29955630_18676.cpp: In function 'int main()':
0_0_29955630_18676.cpp:10:16: error: 'l' was not declared in this scope
scanf("%d",&l[i]);
^
0_0_29955630_18676.cpp:13:16: error: 's' was not declared in this scope
scanf("%d",&s[i]);
^
0_0_29955630_18676.cpp:16:16: error: 'v' was not declared in this scope
scanf("%d",&v[i]);
^
0_0_29955630_18676.cpp:18:13: error: 'l' was not declared in this scope
LL las = -l[0];
^
0_0_29955630_18676.cpp:22:29: error: 's' was not declared in this scope
ans = max(ans,1.0*(las + s[i])/v[i]);
^
0_0_29955630_18676.cpp:22:35: error: 'v' was not declared in this scope
ans = max(ans,1.0*(las + s[i])/v[i]);
^
|