F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_39717224_26488.cpp: In function 'bool solve()':
0_0_39717224_26488.cpp:285:5: error: call of overloaded 'Matrix(<brace-enclosed initializer list>)' is ambiguous
  285 |     );
      |     ^
0_0_39717224_26488.cpp:151:5: note: candidate: 'Matrix<T>::Matrix(const std::vector<std::vector<int> >&) [with T = ModInt<998244353>]'
  151 |     Matrix(const vector<vector<int>> &_mat) :n(_mat.size()), m(_mat[0].size()) {
      |     ^~~~~~
0_0_39717224_26488.cpp:136:8: note: candidate: 'constexpr Matrix<ModInt<998244353> >::Matrix(const Matrix<ModInt<998244353> >&)'
  136 | struct Matrix {
      |        ^~~~~~
0_0_39717224_26488.cpp:136:8: note: candidate: 'constexpr Matrix<ModInt<998244353> >::Matrix(Matrix<ModInt<998244353> >&&)'


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-02 06:52:48, Gzip enabled