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_16394297_9001.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16394297_9001.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16394297_9001.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16394297_9001.cpp: In function 'double f(double)':
0_0_16394297_9001.cpp:10:26: error: 'sin' was not declared in this scope
     return A*x*x-(B*sin(x)+y);
                          ^
0_0_16394297_9001.cpp: In function 'double absf(double)':
0_0_16394297_9001.cpp:15:5: error: expected ')' before 'return'
     return f(x);
     ^
0_0_16394297_9001.cpp: In function 'bool findans(double, double)':
0_0_16394297_9001.cpp:19:17: error: expected ')' before numeric constant
     if(f(l)*f(r)0)return 0;
                 ^
0_0_16394297_9001.cpp:20:13: error: 'l0' was not declared in this scope
     while(r-l0.00000001)       //ע�⾫��
             ^
0_0_16394297_9001.cpp:20:15: error: expected ')' before numeric constant
     while(r-l0.00000001)       //ע�⾫��
               ^
0_0_16394297_9001.cpp:20:24: error: expected ';' before ')' token
     while(r-l0.00000001)       //ע�⾫��
                        ^
0_0_16394297_9001.cpp: In function 'int main()':
0_0_16394297_9001.cpp:34:18: error: 'scanf' was not declared in this scope
     scanf("%d",&T);
                  ^
0_0_16394297_9001.cpp:40:9: error: expected ';' before '{' token
         {
         ^
0_0_16394297_9001.cpp:40:9: error: expected primary-expression before '{' token
0_0_16394297_9001.cpp:40:9: error: expected ')' before '{' token
0_0_16394297_9001.cpp:47:29: error: 'printf' was not declared in this scope
         printf("%.5lf\n",ans);
                             ^
0_0_16394297_9001.cpp:49:25: error: 'printf' was not declared in this scope
         printf("error\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-09-28 15:19:16, Gzip enabled