Pagini recente » Borderou de evaluare (job #2072773) | Borderou de evaluare (job #2632056) | Borderou de evaluare (job #1568582) | Borderou de evaluare (job #1610007) | Borderou de evaluare (job #1296136)
Borderou de evaluare (job #1296136)
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 |
1 | 0ms | 540kb | OK | 10 |
2 | 0ms | 544kb | OK | 10 |
3 | 0ms | 548kb | Incorect | 0 |
4 | 0ms | 548kb | Incorect | 0 |
5 | 0ms | 552kb | Incorect | 0 |
6 | 0ms | 548kb | OK | 10 |
7 | 0ms | 684kb | Incorect | 0 |
8 | 0ms | 808kb | Incorect | 0 |
9 | 16ms | 2532kb | OK | 10 |
10 | 20ms | 3960kb | OK | 10 |
Punctaj total | 50 |