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_16348261_3562.cpp:6:28: error: 'acos' was not declared in this scope
 const double pi = acos(-1.0);
                            ^
0_0_16348261_3562.cpp: In member function 'double point::norm() const':
0_0_16348261_3562.cpp:39:30: error: 'sqrt' was not declared in this scope
   return sqrt(sqr(x) + sqr(y));
                              ^
0_0_16348261_3562.cpp: At global scope:
0_0_16348261_3562.cpp:56:16: error: 'vector' was not declared in this scope
 #define points vector<point>
                ^
0_0_16348261_3562.cpp:59:13: note: in expansion of macro 'points'
 double area(points &p) {
             ^
0_0_16348261_3562.cpp:56:28: error: expected primary-expression before '>' token
 #define points vector<point>
                            ^
0_0_16348261_3562.cpp:59:13: note: in expansion of macro 'points'
 double area(points &p) {
             ^
0_0_16348261_3562.cpp:59:21: error: 'p' was not declared in this scope
 double area(points &p) {
                     ^
0_0_16348261_3562.cpp:59:24: error: expected ',' or ';' before '{' token
 double area(points &p) {
                        ^
0_0_16348261_3562.cpp:56:16: error: variable or field 'convex_hull' declared void
 #define points vector<point>
                ^
0_0_16348261_3562.cpp:65:18: note: in expansion of macro 'points'
 void convex_hull(points &a, points &res) {
                  ^
0_0_16348261_3562.cpp:56:16: error: 'vector' was not declared in this scope
 #define points vector<point>
                ^
0_0_16348261_3562.cpp:65:18: note: in expansion of macro 'points'
 void convex_hull(points &a, points &res) {
                  ^
0_0_16348261_3562.cpp:56:28: error: expected primary-expression before '>' token
 #define points vector<point>
                            ^
0_0_16348261_3562.cpp:65:18: note: in expansion of macro 'points'
 void convex_hull(points &a, points &res) {
                  ^
0_0_16348261_3562.cpp:65:26: error: 'a' was not declared in this scope
 void convex_hull(points &a, points &res) {
                          ^
0_0_16348261_3562.cpp:56:16: error: 'vector' was not declared in this scope
 #define points vector<point>
                ^
0_0_16348261_3562.cpp:65:29: note: in expansion of macro 'points'
 void convex_hull(points &a, points &res) {
                             ^
0_0_16348261_3562.cpp:56:28: error: expected primary-expression before '>' token
 #define points vector<point>
                            ^
0_0_16348261_3562.cpp:65:29: note: in expansion of macro 'points'
 void convex_hull(points &a, points &res) {
                             ^
0_0_16348261_3562.cpp:65:37: error: 'res' was not declared in this scope
 void convex_hull(points &a, points &res) {
                                     ^


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-28 22:10:07, Gzip enabled