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_25096235_1813.cpp:1:1: error: 'include' does not name a type
 include <bits/stdc++.h>
 ^
0_0_25096235_1813.cpp: In function 'bool check1()':
0_0_25096235_1813.cpp:16:45: error: 'sqrt' was not declared in this scope
         double x1 = sqrt(300.0*300.0+mid*mid)/v1;
                                             ^
0_0_25096235_1813.cpp: In function 'bool check2()':
0_0_25096235_1813.cpp:30:45: error: 'sqrt' was not declared in this scope
         double x1 = sqrt(300.0*300.0+mid*mid)/v1;
                                             ^
0_0_25096235_1813.cpp:36:57: error: 'sqrt' was not declared in this scope
     double y1 = sqrt((300.0-mid)*(300.0-mid)+300.0*300.0);
                                                         ^
0_0_25096235_1813.cpp: In function 'bool work()':
0_0_25096235_1813.cpp:44:21: error: 'sqrt' was not declared in this scope
     if(v2 - sqrt(2.0)*v1 < -eps){
                     ^
0_0_25096235_1813.cpp: In function 'int main()':
0_0_25096235_1813.cpp:57:36: error: 'scanf' was not declared in this scope
     int T,tCase = 0;  scanf("%d",&T);
                                    ^
0_0_25096235_1813.cpp:59:36: error: 'printf' was not declared in this scope
         printf("Case #%d: ",++tCase);
                                    ^


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-09-29 10:15:32, Gzip enabled