Pagini recente » Borderou de evaluare (job #16894) | Borderou de evaluare (job #263828) | Borderou de evaluare (job #1631175) | Borderou de evaluare (job #1929264) | Borderou de evaluare (job #1296156)
Borderou de evaluare (job #1296156)
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 | 480kb | OK | 10 |
2 | 0ms | 492kb | OK | 10 |
3 | 0ms | 496kb | OK | 10 |
4 | 0ms | 500kb | Incorect | 0 |
5 | 0ms | 500kb | Incorect | 0 |
6 | 0ms | 500kb | Incorect | 0 |
7 | 0ms | 636kb | Incorect | 0 |
8 | 0ms | 760kb | Incorect | 0 |
9 | 16ms | 2480kb | OK | 10 |
10 | 20ms | 3912kb | OK | 10 |
Punctaj total | 50 |