Borderou de evaluare (job #1906730)

Utilizator bogdanboboc97Bogdan Boboc bogdanboboc97 Data 6 martie 2017 16:02:33
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In static member function ‘static DataType Calculator<DataType>::SolveExpresion(std::string)’: user.cpp:80:60: error: there are no arguments to ‘invalid_argument’ that depend on a template parameter, so a declaration of ‘invalid_argument’ must be available [-fpermissive] throw invalid_argument("Invalid expresion!"); ^ user.cpp:80:60: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) user.cpp: In instantiation of ‘static DataType Calculator<DataType>::SolveExpresion(std::string) [with DataType = int; std::string = std::basic_string<char>]’: user.cpp:142:27: required from here user.cpp:80:60: error: ‘invalid_argument’ was not declared in this scope

Ceva nu functioneaza?