Borderou de evaluare (job #2831074)

Utilizator Alex_DiaconuDiaconu Alexandru Alex_Diaconu Data 10 ianuarie 2022 20:13:53
Problema Ecuatii 2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:91:24: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 91 | if(s.find('x' , 0) > egal) | ~~~~~~~~~~~~~~~~^~~~~~ main.cpp:95:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 95 | for(int i = egal + 1; i <= s.length();i++) | ~~^~~~~~~~~~~~~ main.cpp:97:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 97 | if(i == s.length()) | ~~^~~~~~~~~~~~~ main.cpp:118:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 118 | if(semn == '-') | ^~ main.cpp:120:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 120 | if(isdigit(s[i - 1])) | ^~ main.cpp:146:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 146 | else | ^~~~ main.cpp:156:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 156 | semn = '-'; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK!10
22ms184kbOK!10
32ms184kbOK!10
42ms184kbOK!10
52ms184kbOK!10
62ms184kbOK!10
72ms184kbOK!10
82ms184kbOK!10
92ms184kbOK!10
102ms184kbOK!10
Punctaj total100

Ceva nu functioneaza?