Borderou de evaluare (job #2923205)

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

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: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
12ms184kbKilled by Signal 110
27ms335kbKilled by Signal 110
31ms184kbKilled by Signal 110
41ms184kbKilled by Signal 110
51ms184kbKilled by Signal 110
61ms184kbKilled by Signal 110
76ms319kbKilled by Signal 110
81ms184kbKilled by Signal 110
96ms307kbKilled by Signal 110
106ms339kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?