Borderou de evaluare (job #2923207)

Utilizator CookieDaggerDragan Iulian CookieDagger Data 12 septembrie 2022 10:34:39
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int eval(std::string)': main.cpp:52:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 52 | for(int i=0; i<s.length(); i++) { | ~^~~~~~~~~~~ main.cpp:65:22: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 65 | if(found != string::npos){ | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:82:26: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 82 | }catch(exception e){ | ^ main.cpp:86:14: warning: variable 'it' set but not used [-Wunused-but-set-variable] 86 | for(auto it:opQueue){ | ^~ main.cpp:90:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<op>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 90 | for(int i = 0; i < opQueue.size() - 1; i++){ | ~~^~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbOK10
21ms184kbOK10
38ms253kbKilled by Signal 110
41ms184kbKilled by Signal 110
51ms184kbOK10
61ms184kbOK10
71ms184kbKilled by Signal 110
81ms184kbKilled by Signal 110
99ms581kbIncorect0
1017ms856kbOK10
Punctaj total50

Ceva nu functioneaza?