记录详情

Accepted

/in/foo.cc: In instantiation of 'void convolution::poly<mint, g>::init(int) [with mint = convolution::modint::mint<998244353>; int g = 3]':
/in/foo.cc:73:13:   required from 'void convolution::poly<mint, g>::ntt(int, int) [with mint = convolution::modint::mint<998244353>; int g = 3]'
/in/foo.cc:102:12:   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]'
/in/foo.cc:116:53:   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]'
/in/foo.cc:117: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]'
/in/foo.cc:152:25:   required from here
/in/foo.cc:63:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(r.size() < limit) r.resize(limit);
            ~~~~~~~~~^~~~~~~
/in/foo.cc: In instantiation of 'convolution::modint::mint<m>& convolution::modint::mint<m>::operator+=(const convolution::modint::mint<m>&) [with int m = 998244353]':
/in/foo.cc:35:56:   required from 'convolution::modint::mint<m> convolution::modint::mint<m>::operator+(const convolution::modint::mint<m>&) [with int m = 998244353]'
/in/foo.cc:87:30:   required from 'void convolution::poly<mint, g>::ntt(int, int) [with mint = convolution::modint::mint<998244353>; int g = 3]'
/in/foo.cc:102:12:   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]'
/in/foo.cc:116:53:   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]'
/in/foo.cc:117: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]'
/in/foo.cc:152:25:   required from here
/in/foo.cc:31:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     mint& operator+=(const mint& t){ x += t.x; if (x >= mod) x -= mod; return *this; }
                                                    ~~^~~~~~
/in/foo.cc: In instantiation of 'convolution::modint::mint<m>& convolution::modint::mint<m>::operator-=(const convolution::modint::mint<m>&) [with int m = 998244353]':
/in/foo.cc:36:56:   required from 'convolution::modint::mint<m> convolution::modint::mint<m>::operator-(const convolution::modint::mint<m>&) [with int m = 998244353]'
/in/foo.cc:88:36:   required from 'void convolution::poly<mint, g>::ntt(int, int) [with mint = convolution::modint::mint<998244353>; int g = 3]'
/in/foo.cc:102:12:   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]'
/in/foo.cc:116:53:   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]'
/in/foo.cc:117: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]'
/in/foo.cc:152:25:   required from here
/in/foo.cc:32:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     mint& operator-=(const mint& t){ x += mod - t.x; if (x >= mod) x -= mod; return *this; }
                                                          ~~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 5ms 512.0 KiB
#2 Accepted 4ms 480.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 8ms 544.0 KiB
#5 Accepted 5ms 516.0 KiB
#6 Accepted 1626ms 21.93 MiB
#7 Accepted 1676ms 23.473 MiB
#8 Accepted 1690ms 22.902 MiB
#9 Accepted 1621ms 22.438 MiB
#10 Accepted 1664ms 23.379 MiB

信息

递交者
类型
递交
题目
P1359 5D 调包
语言
C++
递交时间
2022-04-24 16:27:59
评测时间
2022-05-28 09:04:14
评测机
分数
100
总耗时
8304ms
峰值内存
23.473 MiB