Borderou de evaluare (job #3239672)

Utilizator vlad7654vladimir manescu vlad7654 Data 7 august 2024 11:54:46
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'bool expresie(const std::string&, int&)': main.cpp:14:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 14 | while(p+1<s.size() and s[p]=='O' and s[p+1]=='R'){ | ~~~^~~~~~~~~ main.cpp: In function 'bool termen(const std::string&, int&)': main.cpp:22:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 22 | while(p+2<s.size() and s[p]=='A' and s[p+1]=='N' and s[p+2]=='D'){ | ~~~^~~~~~~~~ main.cpp: In function 'bool factor(const std::string&, int&)': main.cpp:29:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 29 | if(p+2<s.size() and s[p]=='N' and s[p+1]=='O' and s[p+2]=='T'){ | ~~~^~~~~~~~~ main.cpp: In function 'int main()': main.cpp:58:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 58 | for(int i=0; i<v.size(); i++){ | ~^~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbIncorect0
30ms303kbIncorect0
40ms303kbIncorect0
50ms303kbIncorect0
60ms303kbIncorect0
70ms303kbIncorect0
80ms303kbIncorect0
90ms303kbIncorect0
100ms303kbOK10
Punctaj total20

Ceva nu functioneaza?