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_37177351_21316.cpp: In function 'int main()':
0_0_37177351_21316.cpp:5:16: error: 'scanf' was not declared in this scope
  scanf("%d", &t);
                ^
0_0_37177351_21316.cpp:10:75: error: 'sqrt' was not declared in this scope
    x3 = ((-b * 1.0 + sqrt(b * 1.0 * b - 4 * a * 1.0 * (c * 1.0 - 1.0 * y0))) / (2 * 1.0 * a));
                                                                           ^
0_0_37177351_21316.cpp:14:39: error: 'printf' was not declared in this scope
    if (x > x0 && x < x1)printf("Yes\n");
                                       ^
0_0_37177351_21316.cpp:15:46: error: 'printf' was not declared in this scope
    else if (-x > x0 && -x < x1)printf("Yes\n");
                                              ^
0_0_37177351_21316.cpp:16:22: error: 'printf' was not declared in this scope
    else printf("No\n");
                      ^


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-27 01:08:14, Gzip enabled