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