foo.cc: In instantiation of 'void convolution::poly<mint, g>::init(int) [with mint = convolution::modint::mint<998244353>; int g = 3]':
foo.cc:78:9: required from 'void convolution::poly<mint, g>::ntt(int, int) [with mint = convolution::modint::mint<998244353>; int g = 3]'
foo.cc:107:9: required from 'convolution::poly<mint, g> convolution::poly<mint, g>::convolution_ntt(convolution::poly<mint, g>) [with mint = convolution::modint::mint<998244353>; int g = 3]'
foo.cc:120:38: required from 'convolution::poly<mint, g>& convolution::poly<mint, g>::operator*=(const convolution::poly<mint, g>&) [with mint = convolution::modint::mint<998244353>; int g = 3]'
foo.cc:121:56: required from 'convolution::poly<mint, g> convolution::poly<mint, g>::operator*(const convolution::poly<mint, g>&) [with mint = convolution::modint::mint<998244353>; int g = 3]'
foo.cc:152:50: required from here
foo.cc:68:21: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
68 | if(r.size() < limit) r.resize(limit);
| ~~~~~~~~~^~~~~~~
foo.cc: In instantiation of 'convolution::modint::mint<m>& convolution::modint::mint<m>::operator+=(const convolution::modint::mint<m>&) [with int m = 998244353]':
foo.cc:40:56: required from 'convolution::modint::mint<m> convolution::modint::mint<m>::operator+(const convolution::modint::mint<m>&) [with int m = 998244353]'
foo.cc:92:30: required from 'void convolution::poly<mint, g>::ntt(int, int) [with mint = convolution::modint::mint<998244353>; int g = 3]'
foo.cc:107:9: required from 'convolution::poly<mint, g> convolution::poly<mint, g>::convolution_ntt(convolution::poly<mint, g>) [with mint = convolution::modint::mint<998244353>; int g = 3]'
foo.cc:120:38: required from 'convolution::poly<mint, g>& convolution::poly<mint, g>::operator*=(const convolution::poly<mint, g>&) [with mint = convolution::modint::mint<998244353>; int g = 3]'
foo.cc:121:56: required from 'convolution::poly<mint, g> convolution::poly<mint, g>::operator*(const convolution::poly<mint, g>&) [with mint = convolution::modint::mint<998244353>; int g = 3]'
foo.cc:152:50: required from here
foo.cc:36:54: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare]
36 | mint& operator+=(const mint& t){ x += t.x; if (x >= mod) x -= mod; return *this; }
| ~~^~~~~~
foo.cc: In instantiation of 'convolution::modint::mint<m>& convolution::modint::mint<m>::operator-=(const convolution::modint::mint<m>&) [with int m = 998244353]':
foo.cc:41:56: required from 'convolution::modint::mint<m> convolution::modint::mint<m>::operator-(const convolution::modint::mint<m>&) [with int m = 998244353]'
foo.cc:93:36: required from 'void convolution::poly<mint, g>::ntt(int, int) [with mint = convolution::modint::mint<998244353>; int g = 3]'
foo.cc:107:9: required from 'convolution::poly<mint, g> convolution::poly<mint, g>::convolution_ntt(convolution::poly<mint, g>) [with mint = convolution::modint::mint<998244353>; int g = 3]'
foo.cc:120:38: required from 'convolution::poly<mint, g>& convolution::poly<mint, g>::operator*=(const convolution::poly<mint, g>&) [with mint = convolution::modint::mint<998244353>; int g = 3]'
foo.cc:121:56: required from 'convolution::poly<mint, g> convolution::poly<mint, g>::operator*(const convolution::poly<mint, g>&) [with mint = convolution::modint::mint<998244353>; int g = 3]'
foo.cc:152:50: required from here
foo.cc:37:60: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare]
37 | mint& operator-=(const mint& t){ x += mod - t.x; if (x >= mod) x -= mod; return *this; }
| ~~^~~~~~
[Hydro](https://hydro.ac)提供评测服务