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

In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/numeric:64:0,
                 from 0_0_36417626_31598.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/functional: In instantiation of '_Tp __gnu_cxx::identity_element(std::multiplies<_Tp>) [with _Tp = Matrix]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/numeric:77:37:   required from '_Tp __gnu_cxx::__power(_Tp, _Integer, _MonoidOperation) [with _Tp = Matrix; _Integer = int; _MonoidOperation = std::multiplies<Matrix>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/numeric:102:54:   required from '_Tp __gnu_cxx::__power(_Tp, _Integer) [with _Tp = Matrix; _Integer = int]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/numeric:124:30:   required from '_Tp __gnu_cxx::power(_Tp, _Integer) [with _Tp = Matrix; _Integer = int]'
0_0_36417626_31598.cpp:60:76:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/functional:94:19: error: no matching function for call to 'Matrix::Matrix(int)'
     { return _Tp(1); }
                   ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/functional:94:19: note: candidates are:
0_0_36417626_31598.cpp:20:8: note: Matrix::Matrix()
 struct Matrix{
        ^
0_0_36417626_31598.cpp:20:8: note:   candidate expects 0 arguments, 1 provided
0_0_36417626_31598.cpp:20:8: note: constexpr Matrix::Matrix(const Matrix&)
0_0_36417626_31598.cpp:20:8: note:   no known conversion for argument 1 from 'int' to 'const Matrix&'
0_0_36417626_31598.cpp:20:8: note: constexpr Matrix::Matrix(Matrix&&)
0_0_36417626_31598.cpp:20:8: note:   no known conversion for argument 1 from 'int' to 'Matrix&&'


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 17:47:16, Gzip enabled