Borderou de evaluare (job #2215516)

Utilizator NarniaDavid Popescu Ioan Narnia Data 22 iunie 2018 14:17:52
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘std::__cxx11::string getNext(std::__cxx11::string, int&)’: user.cpp:34:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i<expr.length() && !is_operator(expr[i])) ~^~~~~~~~~~~~~~ user.cpp: In function ‘std::__cxx11::string infix_to_postfix(std::__cxx11::string)’: user.cpp:48:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i= 0; i<expr.length(); i++) ~^~~~~~~~~~~~~~ user.cpp: In function ‘std::__cxx11::string postfix_getNext(std::__cxx11::string, int&)’: user.cpp:98:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i<expr.length() && (expr[i]!=' ')) ~^~~~~~~~~~~~~~ user.cpp: In function ‘int eval_expr(std::__cxx11::string)’: user.cpp:120:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i =0;i<expr.length();i++) ~^~~~~~~~~~~~~~ user.cpp: In function ‘int interpret(int, int, char)’: user.cpp:113:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1324kbOK10
20ms1316kbOK10
30ms1316kbOK10
40ms1320kbOK10
50ms1320kbOK10
60ms1320kbOK10
74ms1348kbOK10
812ms1348kbOK10
9Depăşit1648kbTime limit exceeded.0
10Depăşit1640kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?