记录详情

Time Exceeded

foo.cc: In instantiation of 'void convolution::poly<mint, g>::init(int) [with mint = convolution::modint::mint<998244353>; int g = 3]':
foo.cc:74:9:   required from 'void convolution::poly<mint, g>::ntt(int, int) [with mint = convolution::modint::mint<998244353>; int g = 3]'
foo.cc:103: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:116: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:147:7:   required from here
foo.cc:64:21: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   64 |         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:36:56:   required from 'convolution::modint::mint<m> convolution::modint::mint<m>::operator+(const convolution::modint::mint<m>&) [with int m = 998244353]'
foo.cc:88:30:   required from 'void convolution::poly<mint, g>::ntt(int, int) [with mint = convolution::modint::mint<998244353>; int g = 3]'
foo.cc:103: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:116: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:147:7:   required from here
foo.cc:32:54: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare]
   32 |     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:37:56:   required from 'convolution::modint::mint<m> convolution::modint::mint<m>::operator-(const convolution::modint::mint<m>&) [with int m = 998244353]'
foo.cc:89:36:   required from 'void convolution::poly<mint, g>::ntt(int, int) [with mint = convolution::modint::mint<998244353>; int g = 3]'
foo.cc:103: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:116: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:147:7:   required from here
foo.cc:33:60: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare]
   33 |     mint& operator-=(const mint& t){ x += mod - t.x; if (x >= mod) x -= mod; return *this; }
      |                                                          ~~^~~~~~
foo.cc: In function 'int main()':
foo.cc:140:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  140 |  scanf("%d",&n);
      |  ~~~~~^~~~~~~~~
foo.cc:143:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  143 |    scanf("%d",&a[i][j]);
      |    ~~~~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 67ms 504.0 KiB
#2 Accepted 54ms 504.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 233ms 504.0 KiB
#5 Accepted 123ms 504.0 KiB
#6 Time Exceeded ≥6100ms ≥2.527 MiB
#7 Time Exceeded ≥6100ms ≥2.602 MiB
#8 Time Exceeded ≥6101ms ≥2.617 MiB
#9 Time Exceeded ≥6101ms ≥2.543 MiB
#10 Time Exceeded ≥6100ms ≥2.574 MiB

信息

递交者
类型
递交
题目
P1359 5D 调包
比赛
悬赏令第五周
语言
C++
递交时间
2022-04-28 15:35:31
评测时间
2022-04-28 15:35:31
评测机
分数
50
总耗时
≥30984ms
峰值内存
≥2.617 MiB