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_18060441_22319.cpp: In function 'int main()':
0_0_18060441_22319.cpp:39:17: error: expected '}' before 'else'
                 else 
                 ^
0_0_18060441_22319.cpp:46:17: error: 'else' without a previous 'if'
                 else if(midd<0)
                 ^
0_0_18060441_22319.cpp:51:9: error: 'else' without a previous 'if'
         else
         ^
0_0_18060441_22319.cpp:54:17: error: 'cc' was not declared in this scope
             x1=-cc/bb;
                 ^
0_0_18060441_22319.cpp:54:20: error: 'bb' was not declared in this scope
             x1=-cc/bb;
                    ^
0_0_18060441_22319.cpp:55:22: error: 'd' was not declared in this scope
             if(x1*x1+d*x1+e==0)
                      ^
0_0_18060441_22319.cpp:55:27: error: 'e' was not declared in this scope
             if(x1*x1+d*x1+e==0)
                           ^
0_0_18060441_22319.cpp:59:55: error: 'a' was not declared in this scope
                 printf("(-INF, %.4f) U (%.4f, INF)\n",a,a);
                                                       ^
0_0_18060441_22319.cpp:63:54: error: 'a' was not declared in this scope
 printf("(-INF, %.4f) U (%.4f, %.4f) U (%.4f, INF)\n",a,a,a+y,a+y);
                                                      ^
0_0_18060441_22319.cpp:64:21: error: expected '}' before 'else'
                     else 
                     ^
0_0_18060441_22319.cpp:64:21: error: expected '}' before 'else'
0_0_18060441_22319.cpp:65:74: error: 'a' was not declared in this scope
                     printf("(-INF, %.4f) U (%.4f, %.4f) U (%.4f, INF)\n",a+y,a+y,a,a);
                                                                          ^
0_0_18060441_22319.cpp: At global scope:
0_0_18060441_22319.cpp:68:13: error: expected unqualified-id before 'else'
             else
             ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-17 11:47:22, Gzip enabled