Borderou de evaluare (job #1296136)

Utilizator alexandru70Ungurianu Alexandru alexandru70 Data 20 decembrie 2014 16:28:13
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In constructor ‘ParserException::ParserException(const string&, int)’: user.cpp:68:17: warning: ‘ParserException::m_Message’ will be initialized after [-Wreorder] std::string m_Message; ^ user.cpp:67:9: warning: ‘int ParserException::m_Pos’ [-Wreorder] int m_Pos; ^ user.cpp:71:5: warning: when initialized here [-Wreorder] ParserException(const std::string& message, int pos): ^ user.cpp: In member function ‘ASTNode* Parser::Expression1()’: user.cpp:102:15: warning: enumeration value ‘Error’ not handled in switch [-Wswitch] switch(m_crtToken.Type) ^ user.cpp:102:15: warning: enumeration value ‘Mul’ not handled in switch [-Wswitch] user.cpp:102:15: warning: enumeration value ‘Div’ not handled in switch [-Wswitch] user.cpp:102:15: warning: enumeration value ‘EndOfText’ not handled in switch [-Wswitch] user.cpp:102:15: warning: enumeration value ‘OpenParenthesis’ not handled in switch [-Wswitch] user.cpp:102:15: warning: enumeration value ‘ClosedParenthesis’ not handled in switch [-Wswitch] user.cpp:102:15: warning: enumeration value ‘Number’ not handled in switch [-Wswitch] user.cpp: In member function ‘ASTNode* Parser::Term1()’: user.cpp:135:11: warning: enumeration value ‘Error’ not handled in switch [-Wswitch] switch(m_crtToken.Type) ^ user.cpp:135:11: warning: enumeration value ‘Plus’ not handled in switch [-Wswitch] user.cpp:135:11: warning: enumeration value ‘Minus’ not handled in switch [-Wswitch] user.cpp:135:11: warning: enumeration value ‘EndOfText’ not handled in switch [-Wswitch] user.cpp:135:11: warning: enumeration value ‘OpenParenthesis’ not handled in switch [-Wswitch] user.cpp:135:11: warning: enumeration value ‘ClosedParenthesis’ not handled in switch [-Wswitch] user.cpp:135:11: warning: enumeration value ‘Number’ not handled in switch [-Wswitch] user.cpp: In member function ‘double Evaluator::EvaluateSubtree(ASTNode*)’: user.cpp:335:19: warning: enumeration value ‘Undefined’ not handled in switch [-Wswitch] switch(ast->Type) ^ user.cpp:335:19: warning: enumeration value ‘UnaryMinus’ not handled in switch [-Wswitch] user.cpp:335:19: warning: enumeration value ‘NumberValue’ not handled in switch [-Wswitch]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms540kbOK10
20ms544kbOK10
30ms548kbIncorect0
40ms548kbIncorect0
50ms552kbIncorect0
60ms548kbOK10
70ms684kbIncorect0
80ms808kbIncorect0
916ms2532kbOK10
1020ms3960kbOK10
Punctaj total50

Ceva nu functioneaza?