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) {
^
|