0_0_33666971_21408.cpp:6:7: error: reference to 'real' is ambiguous
const real pi = acos(-1);
^
0_0_33666971_21408.cpp:3:16: note: candidates are: typedef double real
typedef double real;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_33666971_21408.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:1849:5: note: template<class _Tp> typename __gnu_cxx::__promote<_Tp>::__type std::real(_Tp)
real(_Tp __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:535:5: note: template<class _Tp> constexpr _Tp std::real(const std::complex<_Tp>&)
real(const complex<_Tp>& __z)
^
0_0_33666971_21408.cpp:6:7: error: 'real' does not name a type
const real pi = acos(-1);
^
0_0_33666971_21408.cpp:8:1: error: reference to 'real' is ambiguous
real phour[maxn], pmin[maxn];
^
0_0_33666971_21408.cpp:3:16: note: candidates are: typedef double real
typedef double real;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_33666971_21408.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:1849:5: note: template<class _Tp> typename __gnu_cxx::__promote<_Tp>::__type std::real(_Tp)
real(_Tp __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:535:5: note: template<class _Tp> constexpr _Tp std::real(const std::complex<_Tp>&)
real(const complex<_Tp>& __z)
^
0_0_33666971_21408.cpp:8:1: error: 'real' does not name a type
real phour[maxn], pmin[maxn];
^
0_0_33666971_21408.cpp:9:24: error: template argument 1 is invalid
typedef pair<real, real> prr;
^
0_0_33666971_21408.cpp:9:24: error: template argument 2 is invalid
0_0_33666971_21408.cpp:9:29: error: invalid type in declaration before ';' token
typedef pair<real, real> prr;
^
0_0_33666971_21408.cpp:16:5: error: reference to 'real' is ambiguous
real t;
^
0_0_33666971_21408.cpp:3:16: note: candidates are: typedef double real
typedef double real;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_33666971_21408.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:1849:5: note: template<class _Tp> typename __gnu_cxx::__promote<_Tp>::__type std::real(_Tp)
real(_Tp __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:535:5: note: template<class _Tp> constexpr _Tp std::real(const std::complex<_Tp>&)
real(const complex<_Tp>& __z)
^
0_0_33666971_21408.cpp:16:5: error: 'real' does not name a type
real t;
^
0_0_33666971_21408.cpp: In member function 'bool solver::Event::operator<(const solver::Event&) const':
0_0_33666971_21408.cpp:19:14: error: 't' was not declared in this scope
return t < b.t;
^
0_0_33666971_21408.cpp:19:20: error: 'const struct solver::Event' has no member named 't'
return t < b.t;
^
0_0_33666971_21408.cpp: At global scope:
0_0_33666971_21408.cpp:27:12: error: variable or field 'Add' declared void
void Add(real l, real r, int w = 1) {
^
0_0_33666971_21408.cpp:27:12: error: reference to 'real' is ambiguous
0_0_33666971_21408.cpp:3:16: note: candidates are: typedef double real
typedef double real;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_33666971_21408.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:1849:5: note: template<class _Tp> typename __gnu_cxx::__promote<_Tp>::__type std::real(_Tp)
real(_Tp __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:535:5: note: template<class _Tp> constexpr _Tp std::real(const std::complex<_Tp>&)
real(const complex<_Tp>& __z)
^
0_0_33666971_21408.cpp:27:20: error: reference to 'real' is ambiguous
void Add(real l, real r, int w = 1) {
^
0_0_33666971_21408.cpp:3:16: note: candidates are: typedef double real
typedef double real;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_33666971_21408.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:1849:5: note: template<class _Tp> typename __gnu_cxx::__promote<_Tp>::__type std::real(_Tp)
real(_Tp __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:535:5: note: template<class _Tp> constexpr _Tp std::real(const std::complex<_Tp>&)
real(const complex<_Tp>& __z)
^
0_0_33666971_21408.cpp:27:28: error: expected primary-expression before 'int'
void Add(real l, real r, int w = 1) {
^
0_0_33666971_21408.cpp:118:1: error: expected '}' at end of input
}
^
|