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_19792444_12375.cpp: In function 'void solve()':
0_0_19792444_12375.cpp:23:37: error: 'v1' was not declared in this scope
         ld at=sqrt(300*300+mid*mid)/v1,at2=(300+mid)/v2;
                                     ^
0_0_19792444_12375.cpp:24:16: error: 'at2' was not declared in this scope
         if(at<=at2) r=mid;
                ^
0_0_19792444_12375.cpp:28:21: error: 'v1' was not declared in this scope
       ld t3=(l+600)/v1,t4=(600-l)/v2+T;
                     ^
0_0_19792444_12375.cpp:29:14: error: 't4' was not declared in this scope
       if(t3<=t4) puts("Yes");
              ^


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 14:13:14, Gzip enabled