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


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-05 05:35:12, Gzip enabled