Borderou de evaluare (job #2923206)

Utilizator CookieDaggerDragan Iulian CookieDagger Data 12 septembrie 2022 10:32:40
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
11ms184kbIncorect0
21ms184kbIncorect0
31ms184kbKilled by Signal 110
48ms331kbKilled by Signal 110
51ms184kbIncorect0
61ms184kbIncorect0
75ms307kbKilled by Signal 110
85ms307kbKilled by Signal 110
953ms1187kbTime limit exceeded0
1058ms2019kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?