0_0_34405682_19416.cpp:91:27: error: field 'ntt1' has incomplete type 'ntt_t<2097152u, 998244353u, 3u>'
ntt_t<maxn, 998244353, 3> ntt1;
^
0_0_34405682_19416.cpp:92:28: error: field 'ntt2' has incomplete type 'ntt_t<2097152u, 1004535809u, 3u>'
ntt_t<maxn, 1004535809, 3> ntt2;
^
0_0_34405682_19416.cpp:96:25: error: non-static data member 'M' declared 'constexpr'
constexpr const i64 M = 1002772198720536577ll;
^
0_0_34405682_19416.cpp:97:25: error: non-static data member 'K' declared 'constexpr'
constexpr const i64 K = 334257240187163831ll;
^
0_0_34405682_19416.cpp:123:5: error: 'u32 ntt_t<N, P, R>::add(u32, u32)' cannot be overloaded
u32 add(u32 x, u32 y) {
^
0_0_34405682_19416.cpp:34:13: error: with 'static u32 ntt_t<N, P, R>::add(u32, u32)'
static u32 add(u32 x, u32 y) {
^
0_0_34405682_19416.cpp:126:5: error: 'u32 ntt_t<N, P, R>::sub(u32, u32)' cannot be overloaded
u32 sub(u32 x, u32 y) {
^
0_0_34405682_19416.cpp:37:13: error: with 'static u32 ntt_t<N, P, R>::sub(u32, u32)'
static u32 sub(u32 x, u32 y) {
^
0_0_34405682_19416.cpp:129:5: error: 'u32 ntt_t<N, P, R>::mul(u32, u32)' cannot be overloaded
u32 mul(u32 x, u32 y) {
^
0_0_34405682_19416.cpp:40:13: error: with 'static u32 ntt_t<N, P, R>::mul(u32, u32)'
static u32 mul(u32 x, u32 y) {
^
0_0_34405682_19416.cpp:144:38: error: 'vu ntt_t<N, P, R>::operator*(const vu&, const vu&)' must take either zero or one argument
vu operator*(const vu& f, const vu& g) {
^
0_0_34405682_19416.cpp:303:1: error: expected '}' at end of input
}
^
0_0_34405682_19416.cpp: In member function 'int ntt_t<N, P, R>::main()':
0_0_34405682_19416.cpp:265:12: error: no match for 'operator*' (operand types are 'vu {aka std::vector<unsigned int>}' and 'vu {aka std::vector<unsigned int>}')
vu a = f * g;
^
0_0_34405682_19416.cpp:265:12: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94:0,
from 0_0_34405682_19416.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1169:1: note: template<class _Tp> std::_Expr<std::_BinClos<std::__multiplies, std::_Constant, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__multiplies, _Tp>::result_type> std::operator*(const _Tp&, const std::valarray<_Tp>&)
_DEFINE_BINARY_OPERATOR(*, __multiplies)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1169:1: note: template argument deduction/substitution failed:
0_0_34405682_19416.cpp:265:14: note: 'vu {aka std::vector<unsigned int>}' is not derived from 'const std::valarray<_Tp>'
vu a = f * g;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94:0,
from 0_0_34405682_19416.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1169:1: note: template<class _Tp> std::_Expr<std::_BinClos<std::__multiplies, std::_ValArray, std::_Constant, _Tp, _Tp>, typename std::__fun<std::__multiplies, _Tp>::result_type> std::operator*(const std::valarray<_Tp>&, const _Tp&)
_DEFINE_BINARY_OPERATOR(*, __multiplies)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1169:1: note: template argument deduction/substitution failed:
0_0_34405682_19416.cpp:265:14: note: 'vu {aka std::vector<unsigned int>}' is not derived from 'const std::valarray<_Tp>'
vu a = f * g;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94:0,
from 0_0_34405682_19416.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1169:1: note: template<class _Tp> std::_Expr<std::_BinClos<std::__multiplies, std::_ValArray, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__multiplies, _Tp>::result_type> std::operator*(const std::valarray<_Tp>&, const std::valarray<_Tp>&)
_DEFINE_BINARY_OPERATOR(*, __multiplies)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1169:1: note: template argument deduction/substitution failed:
0_0_34405682_19416.cpp:265:14: note: 'vu {aka std::vector<unsigned int>}' is not derived from 'const std::valarray<_Tp>'
vu a = f * g;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:587:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94,
from 0_0_34405682_19416.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/valarray_after.h:404:5: note: template<class _Dom> std::_Expr<std::_BinClos<std::__multiplies, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__multiplies, typename _Dom1::value_type>::result_type> std::operator*(const std::valarray<typename _Dom::value_type>&, const std::_Expr<_Dom1, typename _Dom1::value_type>&)
_DEFINE_EXPR_BINARY_OPERATOR(*, __multiplies)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/valarray_after.h:404:5: note: template argument deduction/substitution failed:
0_0_34405682_19416.cpp:265:14: note: 'vu {aka std::vector<unsigned int>}' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
vu a = f * g;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:587:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94,
from 0_0_34405682_19416.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/valarray_after.h:404:5: note: template<class _Dom> std::_Expr<std::_BinClos<std::__multiplies, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::__fun<std::__multiplies, typename _Dom1::value_type>::result_type> std::operator*(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::valarray<typename _Dom::value_type>&)
_DEFINE_EXPR_BINARY_OPERATOR(*, __multiplies)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/valarray_after.h:404:5: note: template argument deduction/substitution failed:
0_0_34405682_19416.cpp:265:14: note: 'vu {aka std::vector<unsigned int>}' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
vu a = f * g;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:587:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94,
from 0_0_34405682_19416.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/valarray_after.h:404:5: note: template<class _Dom> std::_Expr<std::_BinClos<std::__multiplies, std::_Constant, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__multiplies, typename _Dom1::value_type>::result_type> std::operator*(const typename _Dom::value_type&, const std::_Expr<_Dom1, typename _Dom1::value_type>&)
_DEFINE_EXPR_BINARY_OPERATOR(*, __multiplies)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/valarray_after.h:404:5: note: template argument deduction/substitution failed:
0_0_34405682_19416.cpp:265:14: note: 'vu {aka std::vector<unsigned int>}' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
vu a = f * g;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:587:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94,
from 0_0_34405682_19416.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/valarray_after.h:404:5: note: template<class _Dom> std::_Expr<std::_BinClos<std::__multiplies, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__multiplies, typename _Dom1::value_type>::result_type> std::operator*(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&)
_DEFINE_EXPR_BINARY_OPERATOR(*, __multiplies)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/valarray_after.h:404:5: note: template argument deduction/substitution failed:
0_0_34405682_19416.cpp:265:14: note: 'vu {aka std::vector<unsigned int>}' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
vu a = f * g;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:587:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94,
from 0_0_34405682_19416.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/valarray_after.h:404:5: note: template<class _Dom1, class _Dom2> std::_Expr<std::_BinClos<std::__multiplies, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__multiplies, typename _Dom1::value_type>::result_type> std::operator*(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::_Expr<_Dom2, typename _Dom2::value_type>&)
_DEFINE_EXPR_BINARY_OPERATOR(*, __multiplies)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/valarray_after.h:404:5: note: template argument deduction/substitution failed:
0_0_34405682_19416.cpp:265:14: note: 'vu {aka std::vector<unsigned int>}' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
vu a = f * g;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38:0,
from GCC4.9.2/x86_64-w64-mingw32/inc
|