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_28737704_21764.cpp: In function 'int main()':
0_0_28737704_21764.cpp:65:20: error: conflicting declaration 'double t1'
             double t1=(sqrt(300.0*300.0+x*x)+sqrt(300.0*300+(300.0-x)*(300.0-x))+900)/v1;
                    ^
0_0_28737704_21764.cpp:63:25: note: previous declaration as 'long double t1'
             long double t1=(sqrt(300*300+x*x)+sqrt(300*300+(300-x)*(300-x))+900)/v1;
                         ^
0_0_28737704_21764.cpp:66:20: error: conflicting declaration 'double t2'
             double t2=1200.0/v2+t;
                    ^
0_0_28737704_21764.cpp:64:25: note: previous declaration as 'long double t2'
             long double t2=1200/v2+t;
                         ^


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-17 04:16:11, Gzip enabled