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_17389854_26003.cpp: In function 'int main()':
0_0_17389854_26003.cpp:160:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_17389854_26003.cpp:95:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_17389854_26003.cpp:167:36: error: expected primary-expression before '[' token
             scanf("%lf %lf", &point[i].first, &point[i].second);
                                    ^
0_0_17389854_26003.cpp:167:53: error: expected primary-expression before '[' token
             scanf("%lf %lf", &point[i].first, &point[i].second);
                                                     ^
0_0_17389854_26003.cpp:168:22: error: expected primary-expression before '[' token
             if (point[i].first > maxx) maxx = point[i].first;
                      ^
0_0_17389854_26003.cpp:168:52: error: expected primary-expression before '[' token
             if (point[i].first > maxx) maxx = point[i].first;
                                                    ^
0_0_17389854_26003.cpp:169:22: error: expected primary-expression before '[' token
             if (point[i].first < minx) minx = point[i].first;
                      ^
0_0_17389854_26003.cpp:169:52: error: expected primary-expression before '[' token
             if (point[i].first < minx) minx = point[i].first;
                                                    ^
0_0_17389854_26003.cpp:170:22: error: expected primary-expression before '[' token
             if (point[i].second > maxy) maxy = point[i].second;
                      ^
0_0_17389854_26003.cpp:170:53: error: expected primary-expression before '[' token
             if (point[i].second > maxy) maxy = point[i].second;
                                                     ^
0_0_17389854_26003.cpp:171:22: error: expected primary-expression before '[' token
             if (point[i].second < miny) miny = point[i].second;
                      ^
0_0_17389854_26003.cpp:171:53: error: expected primary-expression before '[' token
             if (point[i].second < miny) miny = point[i].second;
                                                     ^
0_0_17389854_26003.cpp:173:23: error: 'R' was not declared in this scope
         scanf("%lf", &R);
                       ^
0_0_17389854_26003.cpp:175:14: error: expected unqualified-id before '[' token
         point[n] = point[0];
              ^
0_0_17389854_26003.cpp:177:13: error: 'T' was not declared in this scope
             T[i + 1].x = (point[i].first + point[i + 1].first) * 0.5;
             ^
0_0_17389854_26003.cpp:177:32: error: expected primary-expression before '[' token
             T[i + 1].x = (point[i].first + point[i + 1].first) * 0.5;
                                ^
0_0_17389854_26003.cpp:177:49: error: expected primary-expression before '[' token
             T[i + 1].x = (point[i].first + point[i + 1].first) * 0.5;
                                                 ^
0_0_17389854_26003.cpp:178:32: error: expected primary-expression before '[' token
             T[i + 1].y = (point[i].second + point[i + 1].second) * 0.5;
                                ^
0_0_17389854_26003.cpp:178:50: error: expected primary-expression before '[' token
             T[i + 1].y = (point[i].second + point[i + 1].second) * 0.5;
                                                  ^
0_0_17389854_26003.cpp:183:53: error: 'SA' was not declared in this scope
         if (SA(sqrt(maxx * maxx + maxy * maxy) * 0.5)) printf("Yes\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-29 19:20:48, Gzip enabled