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_23502235_28723.cpp: In member function 'std::vector<_RealType>& Matrix<T>::operator[](const int&)':
0_0_23502235_28723.cpp:219:15: error: 'invalid_argument' is not a member of 'std'
         throw std::invalid_argument("operator[] in Matrix out of bounds");
               ^
0_0_23502235_28723.cpp: In member function 'Matrix<T> Matrix<T>::operator+(Matrix<T>&)':
0_0_23502235_28723.cpp:235:15: error: 'invalid_argument' is not a member of 'std'
         throw std::invalid_argument("these Matrices cannot be added/subtracted");
               ^
0_0_23502235_28723.cpp: In member function 'Matrix<T> Matrix<T>::operator-(Matrix<T>&)':
0_0_23502235_28723.cpp:254:15: error: 'invalid_argument' is not a member of 'std'
         throw std::invalid_argument("these Matrices cannot be added/subtracted");
               ^
0_0_23502235_28723.cpp: In member function 'Matrix<T> Matrix<T>::operator*(Matrix<T>&)':
0_0_23502235_28723.cpp:271:15: error: 'invalid_argument' is not a member of 'std'
         throw std::invalid_argument("these Matrices cannot be multiplied");
               ^
0_0_23502235_28723.cpp: In member function 'Matrix<T> Matrix<T>::power(const unsigned int&)':
0_0_23502235_28723.cpp:313:15: error: 'out_of_range' is not a member of 'std'
         throw std::out_of_range("can't raise to a negative power right now");
               ^
0_0_23502235_28723.cpp: In member function 'T Matrix<T>::determinant()':
0_0_23502235_28723.cpp:342:9: error: 'logic_error' is not a member of 'std'
   throw std::logic_error("Finding the determinant of a matrix is undefined for non-square matrices.");
         ^
0_0_23502235_28723.cpp: In member function 'T Matrix<T>::trace()':
0_0_23502235_28723.cpp:368:9: error: 'logic_error' is not a member of 'std'
   throw std::logic_error("No trace for non-square matrices.");
         ^


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-29 10:49:54, Gzip enabled