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_37878262_11702.cpp: In instantiation of 'Matrix<T1, r, cc> Matrix<T, r, c>::operator*(const Matrix<T1, c, cc>&) [with T1 = long long int; int cc = 2; T = long long int; int r = 2; int c = 2]':
0_0_37878262_11702.cpp:128:38:   required from here
0_0_37878262_11702.cpp:16:20: error: no matching function for call to 'Matrix<long long int, 2, 2>::Matrix(<brace-enclosed initializer list>)'
     Matrix res{r, c};
                    ^
0_0_37878262_11702.cpp:16:20: note: candidates are:
0_0_37878262_11702.cpp:12:8: note: constexpr Matrix<long long int, 2, 2>::Matrix()
 struct Matrix{
        ^
0_0_37878262_11702.cpp:12:8: note:   candidate expects 0 arguments, 2 provided
0_0_37878262_11702.cpp:12:8: note: constexpr Matrix<long long int, 2, 2>::Matrix(const Matrix<long long int, 2, 2>&)
0_0_37878262_11702.cpp:12:8: note:   candidate expects 1 argument, 2 provided
0_0_37878262_11702.cpp:12:8: note: constexpr Matrix<long long int, 2, 2>::Matrix(Matrix<long long int, 2, 2>&&)
0_0_37878262_11702.cpp:12:8: note:   candidate expects 1 argument, 2 provided


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-22 09:37:03, Gzip enabled