0_0_33349219_23836.cpp:17:9: error: reference to 'vector' is ambiguous
typedef vector point;
^
0_0_33349219_23836.cpp:9:8: note: candidates are: struct vector
struct vector {
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_33349219_23836.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11: note: template<class _Tp, class _Alloc> class std::vector
class vector : protected _Vector_base<_Tp, _Alloc>
^
0_0_33349219_23836.cpp:17:9: error: 'vector' does not name a type
typedef vector point;
^
0_0_33349219_23836.cpp:18:1: error: reference to 'vector' is ambiguous
vector operator -(vector a,vector b){return vector (a.x-b.x,a.y-b.y);}
^
0_0_33349219_23836.cpp:9:8: note: candidates are: struct vector
struct vector {
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_33349219_23836.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11: note: template<class _Tp, class _Alloc> class std::vector
class vector : protected _Vector_base<_Tp, _Alloc>
^
0_0_33349219_23836.cpp:18:1: error: 'vector' does not name a type
vector operator -(vector a,vector b){return vector (a.x-b.x,a.y-b.y);}
^
0_0_33349219_23836.cpp:19:1: error: reference to 'vector' is ambiguous
vector operator +(vector a,vector b){return vector (a.x+b.x,a.y+b.y);}
^
0_0_33349219_23836.cpp:9:8: note: candidates are: struct vector
struct vector {
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_33349219_23836.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11: note: template<class _Tp, class _Alloc> class std::vector
class vector : protected _Vector_base<_Tp, _Alloc>
^
0_0_33349219_23836.cpp:19:1: error: 'vector' does not name a type
vector operator +(vector a,vector b){return vector (a.x+b.x,a.y+b.y);}
^
0_0_33349219_23836.cpp:20:1: error: reference to 'vector' is ambiguous
vector operator *(vector a,double t){return vector (a.x*t,a.y*t);}
^
0_0_33349219_23836.cpp:9:8: note: candidates are: struct vector
struct vector {
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_33349219_23836.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11: note: template<class _Tp, class _Alloc> class std::vector
class vector : protected _Vector_base<_Tp, _Alloc>
^
0_0_33349219_23836.cpp:20:1: error: 'vector' does not name a type
vector operator *(vector a,double t){return vector (a.x*t,a.y*t);}
^
0_0_33349219_23836.cpp:21:1: error: reference to 'vector' is ambiguous
vector operator /(vector a,double t){return vector (a.x/t,a.y/t);}
^
0_0_33349219_23836.cpp:9:8: note: candidates are: struct vector
struct vector {
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_33349219_23836.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11: note: template<class _Tp, class _Alloc> class std::vector
class vector : protected _Vector_base<_Tp, _Alloc>
^
0_0_33349219_23836.cpp:21:1: error: 'vector' does not name a type
vector operator /(vector a,double t){return vector (a.x/t,a.y/t);}
^
0_0_33349219_23836.cpp:22:17: error: declaration of 'operator<' as non-function
bool operator <(vector a,vector b)
^
0_0_33349219_23836.cpp:22:17: error: reference to 'vector' is ambiguous
0_0_33349219_23836.cpp:9:8: note: candidates are: struct vector
struct vector {
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_33349219_23836.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11: note: template<class _Tp, class _Alloc> class std::vector
class vector : protected _Vector_base<_Tp, _Alloc>
^
0_0_33349219_23836.cpp:22:26: error: reference to 'vector' is ambiguous
bool operator <(vector a,vector b)
^
0_0_33349219_23836.cpp:9:8: note: candidates are: struct vector
struct vector {
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_33349219_23836.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11: note: template<class _Tp, class _Alloc> class std::vector
class vector : protected _Vector_base<_Tp, _Alloc>
^
0_0_33349219_23836.cpp:26:18: error: declaration of 'operator==' as non-function
bool operator ==(vector a,vector b)
^
0_0_33349219_23836.cpp:26:18: error: reference to 'vector' is ambiguous
0_0_33349219_23836.cpp:9:8: note: candidates are: struct vector
struct vector {
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_33349219_23836.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11: note: template<class _Tp, class _Alloc> class std::vector
class vector : protected _Vector_base<_Tp, _Alloc>
^
0_0_33349219_23836.cpp:26:27: error: reference to 'vector' is ambiguous
bool operator ==(vector a,vector b)
^
0_0_33349219_23836.cpp:9:8: note: candidates are: struct vector
struct vector {
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_33349219_23836.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11: note: template<class _Tp, class _Alloc> class std::vector
class vector : protected _Vector_base<_Tp, _Alloc>
^
0_0_33349219_23836.cpp:35:14: error: reference to 'vector' is ambiguous
double cross(vector a,vector b)
^
0_0_33349219_23836.cpp:9:8: note: candidates are: struct vector
struct vector {
^
In file included from D:/HDOJ/
|