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_36839591_11223.cpp: In static member function 'static constexpr mat mat::e()':
0_0_36839591_11223.cpp:12:93: error: no matching function for call to 'mat::mat(<brace-enclosed initializer list>)'
  static constexpr mat e(){return mat{array<array<ll,2>,2>{array<ll,2>{1,0},array<ll,2>{0,1}}};}
                                                                                             ^
0_0_36839591_11223.cpp:12:93: note: candidates are:
0_0_36839591_11223.cpp:10:8: note: mat::mat()
 struct mat
        ^
0_0_36839591_11223.cpp:10:8: note:   candidate expects 0 arguments, 1 provided
0_0_36839591_11223.cpp:10:8: note: constexpr mat::mat(const mat&)
0_0_36839591_11223.cpp:10:8: note:   no known conversion for argument 1 from 'std::array<std::array<long long int, 2ull>, 2ull>' to 'const mat&'
0_0_36839591_11223.cpp:10:8: note: constexpr mat::mat(mat&&)
0_0_36839591_11223.cpp:10:8: note:   no known conversion for argument 1 from 'std::array<std::array<long long int, 2ull>, 2ull>' to 'mat&&'
0_0_36839591_11223.cpp:12:95: error: body of constexpr function 'static constexpr mat mat::e()' not a return-statement
  static constexpr mat e(){return mat{array<array<ll,2>,2>{array<ll,2>{1,0},array<ll,2>{0,1}}};}
                                                                                               ^


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-11-26 08:13:42, Gzip enabled