0_0_33522931_10080.cpp:51:1: error: 'publc' does not name a type
publc:
^
0_0_33522931_10080.cpp: In member function 'bool A::operator<(A)':
0_0_33522931_10080.cpp:54:12: error: 'a' was not declared in this scope
if(a^r.a)return a<r.a;
^
0_0_33522931_10080.cpp:54:16: error: 'class A' has no member named 'a'
if(a^r.a)return a<r.a;
^
0_0_33522931_10080.cpp:54:29: error: 'class A' has no member named 'a'
if(a^r.a)return a<r.a;
^
0_0_33522931_10080.cpp:55:16: error: 'c' was not declared in this scope
return c<r.c;
^
0_0_33522931_10080.cpp:55:20: error: 'class A' has no member named 'c'
return c<r.c;
^
0_0_33522931_10080.cpp: In member function 'void A::pin()':
0_0_33522931_10080.cpp:58:9: error: 'c' was not declared in this scope
c=intin();
^
0_0_33522931_10080.cpp:59:9: error: 'a' was not declared in this scope
a=intin();
^
0_0_33522931_10080.cpp: In member function 'void A::ot()':
0_0_33522931_10080.cpp:62:15: error: 'a' was not declared in this scope
intot(a);pt(32);
^
0_0_33522931_10080.cpp:63:15: error: 'c' was not declared in this scope
intot(c);pt(10);
^
0_0_33522931_10080.cpp: In function 'double ft(A, A)':
0_0_33522931_10080.cpp:53:10: error: 'bool A::operator<(A)' is private
bool operator<(A r){
^
0_0_33522931_10080.cpp:67:10: error: within this context
if(y<x)return ((double)(y.c-x.c))/((double)(x.a-y.a));
^
0_0_33522931_10080.cpp:67:31: error: 'class A' has no member named 'c'
if(y<x)return ((double)(y.c-x.c))/((double)(x.a-y.a));
^
0_0_33522931_10080.cpp:67:35: error: 'class A' has no member named 'c'
if(y<x)return ((double)(y.c-x.c))/((double)(x.a-y.a));
^
0_0_33522931_10080.cpp:67:51: error: 'class A' has no member named 'a'
if(y<x)return ((double)(y.c-x.c))/((double)(x.a-y.a));
^
0_0_33522931_10080.cpp:67:55: error: 'class A' has no member named 'a'
if(y<x)return ((double)(y.c-x.c))/((double)(x.a-y.a));
^
0_0_33522931_10080.cpp:68:29: error: 'class A' has no member named 'c'
else return ((double)(x.c-y.c))/((double)(y.a-x.a));
^
0_0_33522931_10080.cpp:68:33: error: 'class A' has no member named 'c'
else return ((double)(x.c-y.c))/((double)(y.a-x.a));
^
0_0_33522931_10080.cpp:68:49: error: 'class A' has no member named 'a'
else return ((double)(x.c-y.c))/((double)(y.a-x.a));
^
0_0_33522931_10080.cpp:68:53: error: 'class A' has no member named 'a'
else return ((double)(x.c-y.c))/((double)(y.a-x.a));
^
0_0_33522931_10080.cpp: In function 'int man()':
0_0_33522931_10080.cpp:57:10: error: 'void A::pin()' is private
void pin(){
^
0_0_33522931_10080.cpp:73:34: error: within this context
for(int i=0;i<n;i++)p[i].pin();
^
0_0_33522931_10080.cpp:77:17: error: 'class A' has no member named 'c'
if(p[i].c>mxc){
^
0_0_33522931_10080.cpp:78:22: error: 'class A' has no member named 'c'
mxc=p[i].c;
^
0_0_33522931_10080.cpp:92:18: error: 'class A' has no member named 'c'
if((b[m].c-b[l].c)*(b[m].a-b[r].a)>(b[r].c-b[m].c)*(b[l].a-b[m].a)){
^
0_0_33522931_10080.cpp:92:25: error: 'class A' has no member named 'c'
if((b[m].c-b[l].c)*(b[m].a-b[r].a)>(b[r].c-b[m].c)*(b[l].a-b[m].a)){
^
0_0_33522931_10080.cpp:92:34: error: 'class A' has no member named 'a'
if((b[m].c-b[l].c)*(b[m].a-b[r].a)>(b[r].c-b[m].c)*(b[l].a-b[m].a)){
^
0_0_33522931_10080.cpp:92:41: error: 'class A' has no member named 'a'
if((b[m].c-b[l].c)*(b[m].a-b[r].a)>(b[r].c-b[m].c)*(b[l].a-b[m].a)){
^
0_0_33522931_10080.cpp:92:50: error: 'class A' has no member named 'c'
if((b[m].c-b[l].c)*(b[m].a-b[r].a)>(b[r].c-b[m].c)*(b[l].a-b[m].a)){
^
0_0_33522931_10080.cpp:92:57: error: 'class A' has no member named 'c'
if((b[m].c-b[l].c)*(b[m].a-b[r].a)>(b[r].c-b[m].c)*(b[l].a-b[m].a)){
^
0_0_33522931_10080.cpp:92:66: error: 'class A' has no member named 'a'
if((b[m].c-b[l].c)*(b[m].a-b[r].a)>(b[r].c-b[m].c)*(b[l].a-b[m].a)){
^
0_0_33522931_10080.cpp:92:73: error: 'class A' has no member named 'a'
if((b[m].c-b[l].c)*(b[m].a-b[r].a)>(b[r].c-b[m].c)*(b[l].a-b[m].a)){
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h: In instantiation of 'bool __gnu_cxx::__ops::_Iter_less_iter::operator()(_Iterator1, _Iterator2) const [with _Iterator1 = A*; _Iterator2 = A*]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1846:27: required from 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = A*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1884:70: required from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = A*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1970:55: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = A*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4685:72: required from 'void std::sort(_RAIter, _RAIter) [with _RAIter = A*]'
0_0_33522931_10080.cpp:74:20: required from here
0_0_33522931_10080.cpp:53:10: error: 'bool A::operator<(A)' is private
bool operator<(A r){
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:71:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_33522931_10080.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:42:23: error: within this context
{ return *__it1 < *__it2; }
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h: In instantiation of 'bool __gnu_cxx::__ops::_Val_less_iter::operator()(_Value&, _Iterator) const [with _Value = A; _Iterator = A*]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1827:34: required from 'void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = A*; _Compare = __gnu_cxx::__ops::_Val_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1855:46: required from 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = A*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1884:70: required from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = A*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1970:55: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = A*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4685:72: required from 'void std::sort(_RAIter, _RAIter) [with _RAIter = A*]'
0_0_33522931_10080.cpp:74:20: required from here
0_0_33522931_10080.cpp:53:10: error: 'bool A::operator<(A)' is private
bool operator<(A r){
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:71:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_33522931_10080.c
|