0_0_38598533_31680.cpp:10:5: error: default argument missing for parameter 3 of 'p::p(double, double, int)'
p(double a=0,double b=0,int c)
^
0_0_38598533_31680.cpp: In function 'std::vector<p> convex(std::vector<p>)':
0_0_38598533_31680.cpp:45:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
for(int i=0;i<len;i++)
^~~
0_0_38598533_31680.cpp:52:18: error: invalid conversion from 'double (*)(p)' to 'int' [-fpermissive]
for(int i=len-1;i>=0;i--)
~~~^~
0_0_38598533_31680.cpp: In function 'int main()':
0_0_38598533_31680.cpp:90:28: error: expected ']' before ')' token
if(!vis[a[i].id)
^
]
0_0_38598533_31680.cpp:98:21: error: expected primary-expression before ')' token
for()
^
0_0_38598533_31680.cpp:99:13: error: expected primary-expression before '}' token
}
^
0_0_38598533_31680.cpp:98:22: error: expected ';' before '}' token
for()
^
;
}
~
0_0_38598533_31680.cpp:99:13: error: expected primary-expression before '}' token
}
^
0_0_38598533_31680.cpp:98:22: error: expected ')' before '}' token
for()
~ ^
)
}
~
0_0_38598533_31680.cpp:99:13: error: expected primary-expression before '}' token
}
^
0_0_38598533_31680.cpp:104:28: error: expected ']' before ')' token
if(!vis[a[i].id)
^
]
|