记录详情

Accepted

foo.cc: In function 'Poly Merge(int, int)':
foo.cc:174:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  174 |   int m = l + r >> 1;
      |           ~~^~~
foo.cc: In instantiation of 'void convolution::poly<mint, g>::init(int) [with mint = convolution::modint::mint<998244353>; int g = 3]':
foo.cc:79:9:   required from 'void convolution::poly<mint, g>::ntt(int, int) [with mint = convolution::modint::mint<998244353>; int g = 3]'
foo.cc:108: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:121: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:151:11:   required from here
foo.cc:69:21: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   69 |         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: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:30:   required from 'void convolution::poly<mint, g>::ntt(int, int) [with mint = convolution::modint::mint<998244353>; int g = 3]'
foo.cc:108: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:121: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:151:11:   required from here
foo.cc:37:54: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare]
   37 |     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:42:56:   required from 'convolution::modint::mint<m> convolution::modint::mint<m>::operator-(const convolution::modint::mint<m>&) [with int m = 998244353]'
foo.cc:94:36:   required from 'void convolution::poly<mint, g>::ntt(int, int) [with mint = convolution::modint::mint<998244353>; int g = 3]'
foo.cc:108: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:121: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:151:11:   required from here
foo.cc:38:60: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare]
   38 |     mint& operator-=(const mint& t){ x += mod - t.x; if (x >= mod) x -= mod; return *this; }
      |                                                          ~~^~~~~~
foo.cc: In function 'int main()':
foo.cc:183:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  183 |     scanf("%d",&n);
      |     ~~~~~^~~~~~~~~
foo.cc:186:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  186 |    scanf("%d",&v[j][i]);
      |    ~~~~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 28ms 11.125 MiB
#2 Accepted 27ms 11.125 MiB
#3 Accepted 21ms 11.125 MiB
#4 Accepted 42ms 11.25 MiB
#5 Accepted 30ms 11.125 MiB
#6 Accepted 2159ms 27.785 MiB
#7 Accepted 2228ms 28.008 MiB
#8 Accepted 2229ms 26.125 MiB
#9 Accepted 2459ms 27.684 MiB
#10 Accepted 2028ms 29.133 MiB

信息

递交者
类型
递交
题目
P1359 5D 调包
比赛
悬赏令第五周
语言
C++
递交时间
2022-04-24 20:46:04
评测时间
2022-04-24 21:00:59
评测机
分数
100
总耗时
11256ms
峰值内存
29.133 MiB